[PATCH 08/24] f2fs: add setlease file operation

Chao Yu chao at kernel.org
Fri Jan 9 17:47:58 PST 2026


On 1/9/2026 1:13 AM, Jeff Layton wrote:
> Add the setlease file_operation to f2fs_file_operations and
> f2fs_dir_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>

Reviewed-by: Chao Yu <chao at kernel.org>

Thanks,



More information about the linux-mtd mailing list