diff options
author | Zhang Xiaoxu <[email protected]> | 2022-11-11 15:12:12 +0800 |
---|---|---|
committer | Steve French <[email protected]> | 2022-11-11 11:59:30 -0600 |
commit | 1dcdf5f5b2137185cbdd5385f29949ab3da4f00c (patch) | |
tree | 37d4956e683aaec997de760aca7356056106f2cf /lib/mpi/mpi-mod.c | |
parent | f0c4d9fc9cc9462659728d168387191387e903cc (diff) |
cifs: Fix connections leak when tlink setup failed
If the tlink setup failed, lost to put the connections, then
the module refcnt leak since the cifsd kthread not exit.
Also leak the fscache info, and for next mount with fsc, it will
print the follow errors:
CIFS: Cache volume key already in use (cifs,127.0.0.1:445,TEST)
Let's check the result of tlink setup, and do some cleanup.
Fixes: 56c762eb9bee ("cifs: Refactor out cifs_mount()")
Reviewed-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Zhang Xiaoxu <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions