cifs: Set zero_point in the copy_file_range() and remap_file_range()
authorDavid Howells <dhowells@redhat.com>
Tue, 28 Nov 2023 16:26:44 +0000 (16:26 +0000)
committerDavid Howells <dhowells@redhat.com>
Wed, 1 May 2024 17:08:20 +0000 (18:08 +0100)
commit3758c485f6c9124d8ad76b88382004cbc28a0892
tree9174fedbeb520d4ec5c8fd719014f8818b63ef8f
parent1a5b4edd97cee40922ca8bfb91008338d3a1de60
cifs: Set zero_point in the copy_file_range() and remap_file_range()

Set zero_point in the copy_file_range() and remap_file_range()
implementations so that we don't skip reading data modified on a
server-side copy.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Steve French <sfrench@samba.org>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Rohith Surabattula <rohiths.msft@gmail.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
fs/smb/client/cifsfs.c