linux/fs/ceph
Jeff Layton ffb321045b
ceph: don't allow delegations to be set on directories
With the advent of directory leases, it's necessary to set the
->setlease() handler in directory file_operations to properly deny them.

Fixes: e6d28ebc17 ("filelock: push the S_ISREG check down to ->setlease handlers")
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260107-setlease-6-19-v1-5-85f034abcc57@kernel.org
Reviewed-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2026-01-12 10:54:47 +01:00
..
Kconfig ceph: stop selecting CRC32, CRYPTO, and CRYPTO_AES 2025-12-10 11:50:54 +01:00
Makefile
acl.c
addr.c fs: Make wbc_to_tag() inline and use it in fs. 2025-10-29 23:33:48 +01:00
cache.c ceph: use the new ->i_state accessors 2025-10-20 20:22:27 +02:00
cache.h
caps.c ceph: add trace points to the MDS client 2025-12-10 11:50:54 +01:00
ceph_frag.c
crypto.c Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
crypto.h ceph: replace local base64 helpers with lib/base64 2025-11-20 14:03:44 -08:00
debugfs.c ceph: fix race condition validating r_parent before applying state 2025-09-09 12:57:02 +02:00
dir.c ceph: don't allow delegations to be set on directories 2026-01-12 10:54:47 +01:00
export.c ceph: cleanup hardcoded constants of file handle size 2025-06-01 17:53:16 +02:00
file.c ceph: use the new ->i_state accessors 2025-10-20 20:22:27 +02:00
inode.c Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
io.c ceph: fix potential race condition on operations with CEPH_I_ODIRECT flag 2025-10-08 23:30:46 +02:00
io.h ceph: make ceph_start_io_*() killable 2025-10-08 23:30:46 +02:00
ioctl.c ceph: fix potential race condition in ceph_ioctl_lazyio() 2025-10-08 23:30:46 +02:00
ioctl.h
locks.c ceph: add checking of wait_for_completion_killable() return value 2025-10-08 23:30:46 +02:00
mds_client.c ceph: add trace points to the MDS client 2025-12-10 11:50:54 +01:00
mds_client.h ceph: fix race condition validating r_parent before applying state 2025-09-09 12:57:02 +02:00
mdsmap.c ceph: fix multifs mds auth caps issue 2025-10-08 23:30:47 +02: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: convert timeouts to secs_to_jiffies() 2025-01-12 20:21:04 -08:00
snap.c ceph: Amend checking to fix `make W=1` build breakage 2025-12-10 11:50:54 +01:00
strings.c
super.c ceph: add trace points to the MDS client 2025-12-10 11:50:54 +01:00
super.h Some messenger improvements from Eric and Max, a patch to address the 2025-10-10 11:30:19 -07:00
util.c
xattr.c ceph: Switch to use %ptSp 2025-11-19 10:24:13 +01:00