[PATCH 04/24] erofs: add setlease file operation
Chao Yu
chao at kernel.org
Fri Jan 9 17:47:29 PST 2026
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 at kernel.org>
Reviewed-by: Chao Yu <chao at kernel.org>
Thanks,
More information about the linux-mtd
mailing list