[PATCH 21/29] nfs: add EXPORT_OP_STABLE_HANDLES flag to export operations
Jeff Layton
jlayton at kernel.org
Fri Jan 16 04:47:52 AEDT 2026
Add the EXPORT_OP_STABLE_HANDLES flag to nfs export operations to indicate
that this filesystem can be exported via NFS.
Signed-off-by: Jeff Layton <jlayton at kernel.org>
---
fs/nfs/export.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/nfs/export.c b/fs/nfs/export.c
index a10dd5f9d0786eb111113bf524a1af8b7da0fb6e..7592ef347a2eae5d6305b64effd22537d5ef5e74 100644
--- a/fs/nfs/export.c
+++ b/fs/nfs/export.c
@@ -162,5 +162,6 @@ const struct export_operations nfs_export_ops = {
EXPORT_OP_REMOTE_FS |
EXPORT_OP_NOATOMIC_ATTR |
EXPORT_OP_FLUSH_ON_CLOSE |
- EXPORT_OP_NOLOCKS,
+ EXPORT_OP_NOLOCKS |
+ EXPORT_OP_STABLE_HANDLES,
};
--
2.52.0
More information about the Linux-erofs
mailing list