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
cache.c
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
debugfs.c
dir.c ceph: don't allow delegations to be set on directories 2026-01-12 10:54:47 +01:00
export.c
file.c
inode.c Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
io.c
io.h
ioctl.c
ioctl.h
locks.c
mds_client.c ceph: add trace points to the MDS client 2025-12-10 11:50:54 +01:00
mds_client.h
mdsmap.c
mdsmap.h
metric.c
metric.h
quota.c
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
util.c
xattr.c