]> www.infradead.org Git - users/dwmw2/linux.git/commit
cifs: fix noisy message on copy_file_range
authorSteve French <stfrench@microsoft.com>
Wed, 17 Jul 2024 05:42:22 +0000 (00:42 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 19 Jul 2024 16:08:38 +0000 (11:08 -0500)
commitae4ccca47195332c69176b8615c5ee17efd30c46
tree0c3c4f3d6a7a34a94104c2696b95c1ce0ac4eb5c
parent0c3836482481200ead7b416ca80c68a29cfdaabd
cifs: fix noisy message on copy_file_range

There are common cases where copy_file_range can noisily
log "source and target of copy not on same server"
e.g. the mv command across mounts to two different server's shares.
Change this to informational rather than logging as an error.

A followon patch will add dynamic trace points e.g. for
cifs_file_copychunk_range

Cc: stable@vger.kernel.org
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsfs.c