linux-stable/fs/smb/server
Namjae Jeon f263652dc6 ksmbd: separately allocate ci per dentry
[ Upstream commit 4274a9dc6a ]

xfstests generic/002 test fail when enabling smb2 leases feature.
This test create hard link file, but removeal failed.
ci has a file open count to count file open through the smb client,
but in the case of hard link files, The allocation of ci per inode
cause incorrectly open count for file deletion. This patch allocate
ci per dentry to counts open counts for hard link.

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-01-05 15:19:39 +01:00
..
mgmt ksmbd: Remove unused field in ksmbd_user struct 2024-01-05 15:19:37 +01:00
asn1.c ksmbd: switch to use kmemdup_nul() helper 2023-08-29 12:30:19 -05:00
asn1.h
auth.c ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob() 2023-08-29 12:30:20 -05:00
auth.h
connection.c ksmbd: no need to wait for binded connection termination at logoff 2024-01-05 15:19:38 +01:00
connection.h ksmbd: fix race condition between session lookup and expire 2023-10-04 20:21:48 -05:00
crypto_ctx.c
crypto_ctx.h
glob.h
Kconfig ksmbd: remove experimental warning 2023-09-03 21:06:36 -05:00
ksmbd_netlink.h ksmbd: check if a mount point is crossed during path lookup 2023-07-23 10:25:11 -05:00
ksmbd_spnego_negtokeninit.asn1
ksmbd_spnego_negtokentarg.asn1
ksmbd_work.c ksmbd: prevent memory leak on error return 2024-01-05 15:19:38 +01:00
ksmbd_work.h ksmbd: fix wrong interim response on compound 2023-08-29 12:30:19 -05:00
Makefile
misc.c
misc.h
ndr.c
ndr.h
nterr.h
ntlmssp.h
oplock.c ksmbd: fix wrong DataOffset validation of create context 2023-08-29 12:30:20 -05:00
oplock.h
server.c ksmbd: fix race condition between tree conn lookup and disconnect 2023-10-04 21:56:28 -05:00
server.h
smb2misc.c ksmbd: return invalid parameter error response if smb2 request is invalid 2023-09-21 14:41:06 -05:00
smb2ops.c
smb2pdu.c ksmbd: separately allocate ci per dentry 2024-01-05 15:19:39 +01:00
smb2pdu.h ksmbd: replace one-element array with flex-array member in struct smb2_ea_info 2023-08-29 12:30:20 -05:00
smb_common.c ksmbd: handle malformed smb1 message 2023-11-28 17:20:01 +00: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: fix possible deadlock in smb2_open 2023-12-08 08:52:15 +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: use kvzalloc instead of kvmalloc 2023-06-26 00:07:04 -05:00
transport_ipc.h
transport_rdma.c ksmbd: fix missing RDMA-capable flag for IPoIB device in ksmbd_rdma_capable_netdev() 2024-01-05 15:19:38 +01:00
transport_rdma.h
transport_tcp.c
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: separately allocate ci per dentry 2024-01-05 15:19:39 +01:00
vfs.h ksmbd: fix possible deadlock in smb2_open 2023-12-08 08:52:15 +01:00
vfs_cache.c ksmbd: separately allocate ci per dentry 2024-01-05 15:19:39 +01:00
vfs_cache.h ksmbd: separately allocate ci per dentry 2024-01-05 15:19:39 +01:00
xattr.h