diff options
author | Marios Makassikis <mmakassikis@freebox.fr> | 2022-11-29 12:19:33 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-12-11 08:33:31 -0600 |
commit | 01f6c61bae3d658058ee6322af77acea26a5ee3a (patch) | |
tree | 4ac258cf63e51c386ca17a351397d892c7dfffcd /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions