]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
smb: client: fix warning in cifs_smb3_do_mount()
authorPaulo Alcantara <pc@manguebit.com>
Mon, 19 Jun 2023 19:24:37 +0000 (16:24 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Aug 2023 12:23:23 +0000 (14:23 +0200)
commit9850867042674361f455ea8901375cff5b800be5
tree929643430a5dd5db70fdde3f9e804352be0f93ab
parenta3f252436e5701ae8a974869b7fe075a97e13472
smb: client: fix warning in cifs_smb3_do_mount()

[ Upstream commit 12c30f33cc6769bf411088a2872843c4f9ea32f9 ]

This fixes the following warning reported by kernel test robot

  fs/smb/client/cifsfs.c:982 cifs_smb3_do_mount() warn: possible
  memory leak of 'cifs_sb'

Link: https://lore.kernel.org/all/202306170124.CtQqzf0I-lkp@intel.com/
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/cifs/cifsfs.c