]> git.baikalelectronics.ru Git - kernel.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>
Wed, 23 Aug 2023 15:52:22 +0000 (17:52 +0200)
commit945f4a7aff84fde1f825d17a5050880345da3228
tree5e89b8514e1b1a68afe35b50be19bdbc6bd3ce81
parenta783230585e5d8e9d410475468e203f3e720ff78
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/smb/client/cifsfs.c