summaryrefslogtreecommitdiff
path: root/fs/fuse
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2026-01-08 12:13:19 -0500
committerChristian Brauner <brauner@kernel.org>2026-01-12 10:55:48 +0100
commit51e49111c00bee76ca403adf7cd617b71a9a0da4 (patch)
tree9604640012fd39594bbf5978291f0cb00e472c47 /fs/fuse
parent2b10994be716b07d881ad0f966d6a4bb13b20750 (diff)
fs: remove simple_nosetlease()
Setting ->setlease() to a NULL pointer now has the same effect as setting it to simple_nosetlease(). Remove all of the setlease file_operations that are set to simple_nosetlease, and the function itself. Signed-off-by: Jeff Layton <jlayton@kernel.org> Link: https://patch.msgid.link/20260108-setlease-6-20-v1-24-ea4dec9b67fa@kernel.org Acked-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/fuse')
-rw-r--r--fs/fuse/dir.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c
index 64b29db52cf4..7c183ec496bf 100644
--- a/fs/fuse/dir.c
+++ b/fs/fuse/dir.c
@@ -2430,7 +2430,6 @@ static const struct file_operations fuse_dir_operations = {
.fsync = fuse_dir_fsync,
.unlocked_ioctl = fuse_dir_ioctl,
.compat_ioctl = fuse_dir_compat_ioctl,
- .setlease = simple_nosetlease,
};
static const struct inode_operations fuse_common_inode_operations = {