diff options
author | 2020-07-21 09:36:41 -0300 | |
---|---|---|
committer | 2020-08-02 18:00:26 -0500 | |
commit | a52930353eaf443489a350a135c5525a4acbbf56 (patch) | |
tree | f91c99d9e72ceaf3f1e4f0b8c8613d570d112bf3 /scripts/gen_compile_commands.py | |
parent | cifs: rename reconn_inval_dfs_target() (diff) | |
download | linux-dev-a52930353eaf443489a350a135c5525a4acbbf56.tar.xz linux-dev-a52930353eaf443489a350a135c5525a4acbbf56.zip |
cifs: handle empty list of targets in cifs_reconnect()
In case there were no cached DFS referrals in
reconn_setup_dfs_targets(), set cifs_sb to NULL prior to calling
reconn_set_next_dfs_target() so it would not try to access an empty
tgt_list.
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions