diff options
| author | Jeff Layton <jlayton@kernel.org> | 2026-01-08 12:12:58 -0500 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-01-12 10:55:45 +0100 |
| commit | f9688474e413f607f1a4e047d970b50dc268c84c (patch) | |
| tree | 50cd6ab477697464a77d41891524014ae21b10b0 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 663cdef61a27bf593e48cedc37f28ed5cfbf8c11 (diff) | |
btrfs: add setlease file operation
Add the setlease file_operation to btrfs_file_operations and
btrfs_dir_file_operations, pointing to generic_setlease. A future
patch will change the default behavior to reject lease attempts with
-EINVAL when there is no setlease file operation defined. Add
generic_setlease to retain the ability to set leases on this
filesystem.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260108-setlease-6-20-v1-3-ea4dec9b67fa@kernel.org
Acked-by: David Sterba <dsterba@suse.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
