diff options
| author | Shuhao Fu <sfual@cse.ust.hk> | 2025-10-16 02:52:55 +0000 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-10-15 22:09:46 -0500 |
| commit | c2b77f42205ef485a647f62082c442c1cd69d3fc (patch) | |
| tree | 64b1b8a60567368bbb49555615ff13ada1459615 /tools/docs/parse-headers.py | |
| parent | d451a0e88e9fa710df33f8dd5dc7ca63e22ef211 (diff) | |
smb: client: Fix refcount leak for cifs_sb_tlink
Fix three refcount inconsistency issues related to `cifs_sb_tlink`.
Comments for `cifs_sb_tlink` state that `cifs_put_tlink()` needs to be
called after successful calls to `cifs_sb_tlink()`. Three calls fail to
update refcount accordingly, leading to possible resource leaks.
Fixes: 8ceb98437946 ("CIFS: Move rename to ops struct")
Fixes: 2f1afe25997f ("cifs: Use smb 2 - 3 and cifsacl mount options getacl functions")
Fixes: 366ed846df60 ("cifs: Use smb 2 - 3 and cifsacl mount options setacl function")
Cc: stable@vger.kernel.org
Signed-off-by: Shuhao Fu <sfual@cse.ust.hk>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
