[PATCH 03/24] btrfs: add setlease file operation
David Sterba
dsterba at suse.cz
Thu Jan 8 13:26:58 PST 2026
On Thu, Jan 08, 2026 at 12:12:58PM -0500, Jeff Layton wrote:
> 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 at kernel.org>
Acked-by: David Sterba <dsterba at suse.com>
More information about the linux-mtd
mailing list