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

Re: [f2fs-dev] [PATCH v2 17/31] ovl: add EXPORT_OP_STABLE_HANDLES flag to export operations

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

On Mon, Jan 19, 2026 at 5:29 PM Jeff Layton [off-list ref] wrote:
Add the EXPORT_OP_STABLE_HANDLES flag to overlayfs 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/overlayfs/export.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/fs/overlayfs/export.c b/fs/overlayfs/export.c
index 83f80fdb156749e65a4ea0ab708cbff338dacdad..18c6aee9dd23bb450dadbe8eef9360ea268241ff 100644
--- a/fs/overlayfs/export.c
+++ b/fs/overlayfs/export.c
@@ -865,6 +865,7 @@ const struct export_operations ovl_export_operations = {
        .fh_to_parent   = ovl_fh_to_parent,
        .get_name       = ovl_get_name,
        .get_parent     = ovl_get_parent,
+       .flags          = EXPORT_OP_STABLE_HANDLES,
 };

 /* encode_fh() encodes non-decodable file handles with nfs_export=off */

--
2.52.0

_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help