commit | 01f6c61bae3d658058ee6322af77acea26a5ee3a | [log] [tgz] |
---|---|---|
author | Marios Makassikis <mmakassikis@freebox.fr> | Tue Nov 29 12:19:33 2022 +0100 |
committer | Steve French <stfrench@microsoft.com> | Sun Dec 11 08:33:31 2022 -0600 |
tree | 4ac258cf63e51c386ca17a351397d892c7dfffcd | |
parent | bc044414fa0326a4e5c3c509c00b1fcaf621b5f4 [diff] |
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>