diff options
author | Marios Makassikis <mmakassikis@freebox.fr> | 2022-11-29 14:19:33 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-12-11 17:33:31 +0300 |
commit | 01f6c61bae3d658058ee6322af77acea26a5ee3a (patch) | |
tree | 4ac258cf63e51c386ca17a351397d892c7dfffcd /tools/perf/scripts/python/compaction-times.py | |
parent | bc044414fa0326a4e5c3c509c00b1fcaf621b5f4 (diff) | |
download | linux-01f6c61bae3d658058ee6322af77acea26a5ee3a.tar.xz |
ksmbd: Fix resource leak in smb2_lock()
"flock" is leaked if an error happens before smb2_lock_init(), as the
lock is not added to the lock_list to be cleaned up.
Signed-off-by: Marios Makassikis <mmakassikis@freebox.fr>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions