cifs: fix uninitialized pointer in error case in dfs_cache_get_tgt_share
authorSteve French <stfrench@microsoft.com>
Sat, 4 Jun 2022 06:18:37 +0000 (01:18 -0500)
committerSteve French <stfrench@microsoft.com>
Sat, 4 Jun 2022 18:33:42 +0000 (13:33 -0500)
commitee3c8019cce254f586b7fc2c5b836c275b275527
treea0d0ede2e089af3c58bf57a1470549e59f5a8605
parentef605e86821253d16d47a02ce1f766a461614fef
cifs: fix uninitialized pointer in error case in dfs_cache_get_tgt_share

Set default value of ppath to null.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/dfs_cache.c