]> 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>
Wed, 23 Aug 2023 15:32:29 +0000 (17:32 +0200)
commiteb79f8dfba343667f9a82a252743f4e8f67ce420
treebcb9711de55780ae576609b724e160d55688e7f5
parentc4f7f31b3a0eae773249816b5693f622ddc06a4c
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