[PATCH 20/29] nilfs2: add EXPORT_OP_STABLE_HANDLES flag to export operations
Jeff Layton
jlayton at kernel.org
Fri Jan 16 04:47:51 AEDT 2026
Add the EXPORT_OP_STABLE_HANDLES flag to nilfs2 export operations to indicate
that this filesystem can be exported via NFS.
Signed-off-by: Jeff Layton <jlayton at kernel.org>
---
fs/nilfs2/namei.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/nilfs2/namei.c b/fs/nilfs2/namei.c
index 40f4b1a28705b6e0eb8f0978cf3ac18b43aa1331..975123586d1b1703e25ba6dd3117f397b3d785c1 100644
--- a/fs/nilfs2/namei.c
+++ b/fs/nilfs2/namei.c
@@ -591,4 +591,5 @@ const struct export_operations nilfs_export_ops = {
.fh_to_dentry = nilfs_fh_to_dentry,
.fh_to_parent = nilfs_fh_to_parent,
.get_parent = nilfs_get_parent,
+ .flags = EXPORT_OP_STABLE_HANDLES,
};
--
2.52.0
More information about the Linux-erofs
mailing list