]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ksmbd: fix missing use of get_write in in smb2_set_ea()
authorNamjae Jeon <linkinjeon@kernel.org>
Tue, 11 Jun 2024 14:27:27 +0000 (23:27 +0900)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Fri, 2 Aug 2024 14:26:56 +0000 (16:26 +0200)
commitee1a29bf2cc18fbf2590b38bed7306a057d36ccb
tree9976993eb231af4313e0a7c7d77a130995f76554
parent93e3502305d2aaa369d7ad6bdeafc8cbda4c5d44
ksmbd: fix missing use of get_write in in smb2_set_ea()

BugLink: https://bugs.launchpad.net/bugs/2074091
commit 2bfc4214c69c62da13a9da8e3c3db5539da2ccd3 upstream.

Fix an issue where get_write is not used in smb2_set_ea().

Fixes: 6fc0a265e1b9 ("ksmbd: fix potential circular locking issue in smb2_set_ea()")
Cc: stable@vger.kernel.org
Reported-by: Wang Zhaolong <wangzhaolong1@huawei.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Portia Stephens <portia.stephens@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
fs/smb/server/smb2pdu.c
fs/smb/server/vfs.c
fs/smb/server/vfs.h
fs/smb/server/vfs_cache.c