]> git.ipfire.org Git - thirdparty/linux.git/commit
fs: remove simple_nosetlease()
authorJeff Layton <jlayton@kernel.org>
Thu, 8 Jan 2026 17:13:19 +0000 (12:13 -0500)
committerChristian Brauner <brauner@kernel.org>
Mon, 12 Jan 2026 09:55:48 +0000 (10:55 +0100)
commit51e49111c00bee76ca403adf7cd617b71a9a0da4
tree9604640012fd39594bbf5978291f0cb00e472c47
parent2b10994be716b07d881ad0f966d6a4bb13b20750
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>
13 files changed:
fs/9p/vfs_dir.c
fs/9p/vfs_file.c
fs/ceph/dir.c
fs/ceph/file.c
fs/fuse/dir.c
fs/gfs2/file.c
fs/libfs.c
fs/nfs/dir.c
fs/nfs/file.c
fs/smb/client/cifsfs.c
fs/vboxsf/dir.c
fs/vboxsf/file.c
include/linux/fs.h