Re: [PATCH v2 27/31] fuse: add EXPORT_OP_STABLE_HANDLES flag to export operations

Amir Goldstein
2026-01-19T16:43:32Z

On Mon, Jan 19, 2026 at 5:30 PM Jeff Layton <jlayton@kernel.org> wrote:
>
> Add the EXPORT_OP_STABLE_HANDLES flag to fuse export operations to indicate
> that this filesystem can be exported via NFS.
>
> Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>

> ---
> fs/fuse/inode.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
> index 819e50d666224a6201cfc7f450e0bd37bfe32810..df92414e903b200fedb9dc777b913dae1e2d0741 100644
> --- a/fs/fuse/inode.c
> +++ b/fs/fuse/inode.c
> @@ -1215,6 +1215,7 @@ static const struct export_operations fuse_export_operations = {
> .fh_to_parent = fuse_fh_to_parent,
> .encode_fh = fuse_encode_fh,
> .get_parent = fuse_get_parent,
> + .flags = EXPORT_OP_STABLE_HANDLES,
> };
>
> static const struct super_operations fuse_super_operations = {
>
> --
> 2.52.0
>