smb3: fix problem with null cifs super block with previous patch
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>
此提交包含在:
@@ -2407,7 +2407,7 @@ smb2_queryfs(const unsigned int xid, struct cifs_tcon *tcon,
|
||||
FS_FULL_SIZE_INFORMATION,
|
||||
SMB2_O_INFO_FILESYSTEM,
|
||||
sizeof(struct smb2_fs_full_size_info),
|
||||
&rsp_iov, &buftype, NULL);
|
||||
&rsp_iov, &buftype, cifs_sb);
|
||||
if (rc)
|
||||
goto qfs_exit;
|
||||
|
||||
|
新增問題並參考
封鎖使用者