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

Signed-off-by: Jeff Layton <[email protected]>
---
 fs/ntfs3/super.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c
index 
8b0cf0ed4f72cc643b2b42fc491b259cf19fe3b8..df58aeb46206982cc782fad6005a13160806926d
 100644
--- a/fs/ntfs3/super.c
+++ b/fs/ntfs3/super.c
@@ -889,6 +889,7 @@ static const struct export_operations ntfs_export_ops = {
        .fh_to_parent = ntfs_fh_to_parent,
        .get_parent = ntfs3_get_parent,
        .commit_metadata = ntfs_nfs_commit_metadata,
+       .flags = EXPORT_OP_STABLE_HANDLES,
 };
 
 /*

-- 
2.52.0


Reply via email to