Thread (50 messages) 50 messages, 6 authors, 2026-01-21

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

From: Amir Goldstein <amir73il@gmail.com>
Date: 2026-01-19 16:43:33
Also in: ceph-devel, gfs2, linux-btrfs, linux-cifs, linux-doc, linux-ext4, linux-f2fs-devel, linux-fsdevel, linux-mm, linux-nfs, linux-unionfs, linux-xfs, ntfs3, ocfs2-devel

On Mon, Jan 19, 2026 at 5:30 PM Jeff Layton [off-list ref] 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>
quoted hunk ↗ jump to hunk
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help