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

From: Chao Yu

Date: Fri Jan 09 2026 - 20:48:02 EST


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@xxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,