]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: fix problem with null cifs super block with previous patch
authorSteve French <stfrench@microsoft.com>
Tue, 4 Feb 2020 19:02:59 +0000 (13:02 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 10:07:32 +0000 (12:07 +0200)
commitdccd55c0279ebdf1345b43ca88f71448a2495f14
tree000c1608a675e8d5897ed8067ee835b43481d42f
parenta9ea45d943e1fc6a051795dd8f3007b75cb78be4
smb3: fix problem with null cifs super block with previous patch

commit a487fff230ba1ce853ea124b8f726f0d106f9cf1 upstream.

Add check for null cifs_sb to create_options helper

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Pratyush Yadav <ptyadav@amazon.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/cifsproto.h
fs/cifs/smb2ops.c