[PATCH v2 10/31] btrfs: add EXPORT_OP_STABLE_HANDLES flag to export operations
Jeff Layton
jlayton at kernel.org
Mon Jan 19 08:26:27 PST 2026
Add the EXPORT_OP_STABLE_HANDLES flag to btrfs export operations to
indicate that this filesystem can be exported via NFS.
Signed-off-by: Jeff Layton <jlayton at kernel.org>
---
fs/btrfs/export.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/btrfs/export.c b/fs/btrfs/export.c
index 230d9326b685c4e12dc0fffd4a86ebba68a55bd6..14b688849ce406b2f784015afced2c29422ab6c3 100644
--- a/fs/btrfs/export.c
+++ b/fs/btrfs/export.c
@@ -304,4 +304,5 @@ const struct export_operations btrfs_export_ops = {
.fh_to_parent = btrfs_fh_to_parent,
.get_parent = btrfs_get_parent,
.get_name = btrfs_get_name,
+ .flags = EXPORT_OP_STABLE_HANDLES,
};
--
2.52.0
More information about the linux-mtd
mailing list