OpenCloudOS-Kernel/fs/smb/server
Namjae Jeon 16ece7c564 ksmbd: use rwsem instead of rwlock for lease break
[ Upstream commit d1c189c6cb8b0fb7b5ee549237d27889c40c2f8b ]

lease break wait for lease break acknowledgment.
rwsem is more suitable than unlock while traversing the list for parent
lease break in ->m_op_list.

Cc: stable@vger.kernel.org
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-21 14:38:21 +02:00
..
mgmt ksmbd: ignore trailing slashes in share paths 2024-06-12 11:11:21 +02:00
Kconfig ksmbd: remove experimental warning 2023-09-03 21:06:36 -05:00
Makefile
asn1.c ksmbd: validate mech token in session setup 2024-01-25 15:35:44 -08:00
asn1.h
auth.c ksmbd: auth: fix most kernel-doc warnings 2024-05-25 16:22:44 +02:00
auth.h
connection.c ksmbd: Add missing set_freezable() for freezable kthread 2024-01-31 16:18:58 -08:00
connection.h ksmbd: fix UAF issue in ksmbd_tcp_new_connection() 2024-01-25 15:35:44 -08:00
crypto_ctx.c
crypto_ctx.h
glob.h
ksmbd_netlink.h ksmbd: add continuous availability share parameter 2024-05-25 16:22:52 +02:00
ksmbd_spnego_negtokeninit.asn1
ksmbd_spnego_negtokentarg.asn1
ksmbd_work.c ksmbd: release interim response after sending status pending response 2024-01-05 15:19:39 +01:00
ksmbd_work.h ksmbd: fix wrong interim response on compound 2023-08-29 12:30:19 -05:00
misc.c ksmbd: Add kernel-doc for ksmbd_extract_sharename() function 2024-05-25 16:22:46 +02:00
misc.h
ndr.c
ndr.h
nterr.h
ntlmssp.h
oplock.c ksmbd: use rwsem instead of rwlock for lease break 2024-06-21 14:38:21 +02:00
oplock.h ksmbd: add support for durable handles v1/v2 2024-05-25 16:22:49 +02:00
server.c ksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf 2024-04-27 17:11:43 +02:00
server.h
smb2misc.c ksmbd: fix potencial out-of-bounds when buffer offset is invalid 2024-05-25 16:22:50 +02:00
smb2ops.c ksmbd: add support for durable handles v1/v2 2024-05-25 16:22:49 +02:00
smb2pdu.c ksmbd: use rwsem instead of rwlock for lease break 2024-06-21 14:38:21 +02:00
smb2pdu.h smb: smb2pdu.h: Avoid -Wflex-array-member-not-at-end warnings 2024-05-25 16:22:52 +02:00
smb_common.c ksmbd: use rwsem instead of rwlock for lease break 2024-06-21 14:38:21 +02:00
smb_common.h ksmbd: fix out of bounds in init_smb2_rsp_hdr() 2023-07-23 10:25:11 -05:00
smbacl.c ksmbd: free ppace array on error in parse_dacl 2024-01-20 11:51:48 +01:00
smbacl.h ksmbd: fix possible deadlock in smb2_open 2023-12-08 08:52:15 +01:00
smbfsctl.h
smbstatus.h
transport_ipc.c ksmbd: validate payload size in ipc response 2024-04-10 16:36:02 +02:00
transport_ipc.h
transport_rdma.c ksmbd: fix UAF issue in ksmbd_tcp_new_connection() 2024-01-25 15:35:44 -08:00
transport_rdma.h
transport_tcp.c smb: Fix some kernel-doc comments 2024-05-25 16:22:45 +02:00
transport_tcp.h
unicode.c ksmbd: add support for surrogate pair conversion 2024-01-05 15:19:38 +01:00
unicode.h fs/smb: Swing unicode common code from smb->NLS 2023-08-30 08:55:51 -05:00
vfs.c ksmbd: vfs: fix all kernel-doc warnings 2024-05-25 16:22:44 +02:00
vfs.h ksmbd: fix possible deadlock in smb2_open 2023-12-08 08:52:15 +01:00
vfs_cache.c ksmbd: use rwsem instead of rwlock for lease break 2024-06-21 14:38:21 +02:00
vfs_cache.h ksmbd: use rwsem instead of rwlock for lease break 2024-06-21 14:38:21 +02:00
xattr.h