OSDN Git Service

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)
committerSteve French <stfrench@microsoft.com>
Wed, 21 Jun 2023 04:02:52 +0000 (23:02 -0500)
commit12c30f33cc6769bf411088a2872843c4f9ea32f9
tree53564f889973627ec2d067a06809ab529b39a127
parentfc1bd51d110e206da5bee07e889d285c267a6874
smb: client: fix warning in cifs_smb3_do_mount()

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>
fs/smb/client/cifsfs.c