]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: Move the flush out of smb2_copychunk_range() into its callers
authorDavid Howells <dhowells@redhat.com>
Tue, 23 Aug 2022 13:07:28 +0000 (14:07 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 29 Aug 2022 03:34:07 +0000 (22:34 -0500)
commit10af6e52849e5f5e96afe933d220c0812c60d878
tree3e441c05d639f49bfe976eb87bf5c6f386dfd131
parent63433aa6d0e739cf2afad75742003c018cf3cb74
smb3: Move the flush out of smb2_copychunk_range() into its callers

Move the flush out of smb2_copychunk_range() into its callers.  This will
allow the pagecache to be invalidated between the flush and the operation
in smb3_collapse_range() and smb3_insert_range().

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsfs.c
fs/cifs/smb2ops.c