summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsacl.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2022-08-23 14:07:55 +0100
committerSteve French <stfrench@microsoft.com>2022-08-28 22:34:08 -0500
commit9c8b7a293f50253e694f19161c045817a938e551 (patch)
tree0f9cc697706ca1dbbbab416a7980431298b3a20a /fs/cifs/cifsacl.h
parentfa30a81f255a56cccd89552cd6ce7ea6e8d8acc4 (diff)
downloadlinux-9c8b7a293f50253e694f19161c045817a938e551.tar.bz2
smb3: fix temporary data corruption in insert range
insert range doesn't discard the affected cached region so can risk temporarily corrupting file data. Also includes some minor cleanup (avoiding rereading inode size repeatedly unnecessarily) to make it clearer. Cc: stable@vger.kernel.org Fixes: 7fe6fe95b936 ("cifs: add FALLOC_FL_INSERT_RANGE support") Signed-off-by: David Howells <dhowells@redhat.com> cc: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsacl.h')
0 files changed, 0 insertions, 0 deletions