commit | 652727bbe1b17993636346716ae5867627793647 | [log] [tgz] |
---|---|---|
author | Frank Sorenson <sorenson@redhat.com> | Tue Apr 16 08:37:27 2019 -0500 |
committer | Steve French <stfrench@microsoft.com> | Wed Apr 24 12:33:59 2019 -0500 |
tree | d0c67021774a1e2c34feed31ff224e259ee9a5ca | |
parent | 05fd5c2c61732152a6bddc318aae62d7e436629b [diff] |
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 <sorenson@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com> CC: Stable <stable@vger.kernel.org> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>