https://github.com/torvalds/linux
Revision 652727bbe1b17993636346716ae5867627793647 authored by Frank Sorenson on 16 April 2019, 13:37:27 UTC, committed by Steve French on 24 April 2019, 17:33:59 UTC
A path-based rename returning EBUSY will incorrectly try opening
the file with a cifs (NT Create AndX) operation on an smb2+ mount,
which causes the server to force a session close.

If the mount is smb2+, skip the fallback.

Signed-off-by: Frank Sorenson <sorenson@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
CC: Stable <stable@vger.kernel.org>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
1 parent 05fd5c2
Raw File
Tip revision: 652727bbe1b17993636346716ae5867627793647 authored by Frank Sorenson on 16 April 2019, 13:37:27 UTC
cifs: do not attempt cifs operation on smb2+ rename error
Tip revision: 652727b
.cocciconfig
[spatch]
	options = --timeout 200
	options = --use-gitgrep
back to top