]> Git Repo - linux.git/commit - fs/cifs/inode.c
cifs: do not attempt cifs operation on smb2+ rename error
authorFrank Sorenson <[email protected]>
Tue, 16 Apr 2019 13:37:27 +0000 (08:37 -0500)
committerSteve French <[email protected]>
Wed, 24 Apr 2019 17:33:59 +0000 (12:33 -0500)
commit652727bbe1b17993636346716ae5867627793647
treed0c67021774a1e2c34feed31ff224e259ee9a5ca
parent05fd5c2c61732152a6bddc318aae62d7e436629b
cifs: do not attempt cifs operation on smb2+ rename error

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 <[email protected]>
Signed-off-by: Steve French <[email protected]>
CC: Stable <[email protected]>
Reviewed-by: Ronnie Sahlberg <[email protected]>
fs/cifs/inode.c
This page took 0.053915 seconds and 4 git commands to generate.