]> git.itanic.dy.fi Git - linux-stable/commit
smb3: fix problem remounting a share after shutdown
authorSteve French <stfrench@microsoft.com>
Tue, 9 May 2023 06:37:19 +0000 (01:37 -0500)
committerSteve French <stfrench@microsoft.com>
Tue, 9 May 2023 14:54:58 +0000 (09:54 -0500)
commit716a3cf317456fa01d54398bb14ab354f50ed6a2
tree52a5554871c7f836ca2ec3478b117421431d1beb
parent2cb6f968775a9fd60c90a6042b9550bcec3ea087
smb3: fix problem remounting a share after shutdown

xfstests generic/392 showed a problem where even after a
shutdown call was made on a mount, we would still attempt
to use the (now inaccessible) superblock if another mount
was attempted for the same share.

Reported-by: David Howells <dhowells@redhat.com>
Reviewed-by: David Howells <dhowells@redhat.com>
Cc: <stable@vger.kernel.org>
Fixes: 087f757b0129 ("cifs: add shutdown support")
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c