[PATCH 08/29] ceph: add EXPORT_OP_STABLE_HANDLES flag to export operations
Viacheslav Dubeyko
Slava.Dubeyko at ibm.com
Fri Jan 16 06:16:57 AEDT 2026
On Thu, 2026-01-15 at 12:47 -0500, Jeff Layton wrote:
> Add the EXPORT_OP_STABLE_HANDLES flag to ceph export operations to indicate
> that this filesystem can be exported via NFS.
>
> Signed-off-by: Jeff Layton <jlayton at kernel.org>
> ---
> fs/ceph/export.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/ceph/export.c b/fs/ceph/export.c
> index b2f2af1046791d8423c91b79556bde384a2fe627..10104d20f736a8092ed847ecb27030be286c0ede 100644
> --- a/fs/ceph/export.c
> +++ b/fs/ceph/export.c
> @@ -615,4 +615,5 @@ const struct export_operations ceph_export_ops = {
> .fh_to_parent = ceph_fh_to_parent,
> .get_parent = ceph_get_parent,
> .get_name = ceph_get_name,
> + .flags = EXPORT_OP_STABLE_HANDLES,
> };
Looks good.
Reviewed-by: Viacheslav Dubeyko <Slava.Dubeyko at ibm.com>
Thanks,
Slava.
More information about the Linux-erofs
mailing list