linux-stable/fs/ceph
Xiubo Li 17f8dc2db5 ceph: switch to use cap_delay_lock for the unlink delay list
The same list item will be used in both cap_delay_list and
cap_unlink_delay_list, so it's buggy to use two different locks
to protect them.

Cc: stable@vger.kernel.org
Fixes: dbc347ef7f ("ceph: add ceph_cap_unlink_work to fire check_caps() immediately")
Link: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/AODC76VXRAMXKLFDCTK4TKFDDPWUSCN5
Reported-by: Marc Ruhmann <ruhmann@luis.uni-hannover.de>
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Tested-by: Marc Ruhmann <ruhmann@luis.uni-hannover.de>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2024-04-11 22:56:28 +02:00
..
Kconfig ceph: select FS_ENCRYPTION_ALGS if FS_ENCRYPTION 2024-01-15 15:40:50 +01:00
Makefile
acl.c
addr.c ceph: redirty page before returning AOP_WRITEPAGE_ACTIVATE 2024-04-11 19:17:02 +02:00
cache.c
cache.h netfs: Provide invalidate_folio and release_folio calls 2023-12-24 15:08:51 +00:00
caps.c ceph: switch to use cap_delay_lock for the unlink delay list 2024-04-11 22:56:28 +02:00
ceph_frag.c
crypto.c
crypto.h
debugfs.c
dir.c Assorted CephFS fixes and cleanups with nothing standing out. 2024-01-19 09:58:55 -08:00
export.c ceph: d_obtain_{alias,root}(ERR_PTR(...)) will do the right thing 2024-01-15 15:40:51 +01:00
file.c ceph: set correct cap mask for getattr request for read 2024-03-19 14:35:55 +01:00
inode.c ceph: always set initial i_blkbits to CEPH_FSCRYPT_BLOCK_SHIFT 2024-02-07 14:43:29 +01:00
io.c
io.h
ioctl.c
ioctl.h
locks.c ceph: adapt to breakup of struct file_lock 2024-02-05 13:11:42 +01:00
mds_client.c ceph: switch to use cap_delay_lock for the unlink delay list 2024-04-11 22:56:28 +02:00
mds_client.h ceph: switch to use cap_delay_lock for the unlink delay list 2024-04-11 22:56:28 +02:00
mdsmap.c ceph: switch to corrected encoding of max_xattr_size in mdsmap 2024-02-26 19:20:30 +01:00
mdsmap.h ceph: switch to corrected encoding of max_xattr_size in mdsmap 2024-02-26 19:20:30 +01:00
metric.c
metric.h
quota.c ceph: fix invalid pointer access if get_quota_realm return ERR_PTR 2024-01-15 15:40:51 +01:00
snap.c
strings.c
super.c ceph: remove SLAB_MEM_SPREAD flag usage 2024-03-18 22:03:29 +01:00
super.h ceph: always check dir caps asynchronously 2024-02-07 14:58:02 +01:00
util.c
xattr.c