Skip to content

Commit ae4ccca

Browse files
author
Steve French
committed
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>
1 parent 0c38364 commit ae4ccca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/smb/client/cifsfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ ssize_t cifs_file_copychunk_range(unsigned int xid,
13591359
target_tcon = tlink_tcon(smb_file_target->tlink);
13601360

13611361
if (src_tcon->ses != target_tcon->ses) {
1362-
cifs_dbg(VFS, "source and target of copy not on same server\n");
1362+
cifs_dbg(FYI, "source and target of copy not on same server\n");
13631363
goto out;
13641364
}
13651365

0 commit comments

Comments
 (0)