[PATCH v2 14/31] affs: add EXPORT_OP_STABLE_HANDLES flag to export operations

Jeff Layton
2026-01-19T16:29:00Z

Add the EXPORT_OP_STABLE_HANDLES flag to affs export operations to indicate
that this filesystem can be exported via NFS.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
fs/affs/namei.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/affs/namei.c b/fs/affs/namei.c
index f883be50db122d3b09f0ae4d24618bd49b55186b..edea4d868b5131fa69912655879231912ceff168 100644
--- a/fs/affs/namei.c
+++ b/fs/affs/namei.c
@@ -569,6 +569,7 @@ const struct export_operations affs_export_ops = {
.fh_to_dentry = affs_fh_to_dentry,
.fh_to_parent = affs_fh_to_parent,
.get_parent = affs_get_parent,
+ .flags = EXPORT_OP_STABLE_HANDLES,
};

const struct dentry_operations affs_dentry_operations = {

--
2.52.0