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

From: Jeff Layton

Date: Mon Jan 19 2026 - 11:30:34 EST


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