Re: [PATCH 04/24] erofs: add setlease file operation
From: Chao Yu
Date: Fri Jan 09 2026 - 20:47:33 EST
On 1/9/2026 1:12 AM, Jeff Layton wrote:
Add the setlease file_operation to erofs_file_fops and erofs_dir_fops,
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,