Add the EXPORT_OP_STABLE_HANDLES flag to fat export operations to indicate that this filesystem can be exported via NFS.
Signed-off-by: Jeff Layton <[email protected]> --- fs/fat/nfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/fat/nfs.c b/fs/fat/nfs.c index 509eea96a457d41f63f04480da32aceae75a8a4a..f6a5c8c4f5e8a14e549b5aad6643d490f1d062b1 100644 --- a/fs/fat/nfs.c +++ b/fs/fat/nfs.c @@ -289,6 +289,7 @@ const struct export_operations fat_export_ops = { .fh_to_dentry = fat_fh_to_dentry, .fh_to_parent = fat_fh_to_parent, .get_parent = fat_get_parent, + .flags = EXPORT_OP_STABLE_HANDLES, }; const struct export_operations fat_export_ops_nostale = { @@ -296,4 +297,5 @@ const struct export_operations fat_export_ops_nostale = { .fh_to_dentry = fat_fh_to_dentry_nostale, .fh_to_parent = fat_fh_to_parent_nostale, .get_parent = fat_get_parent, + .flags = EXPORT_OP_STABLE_HANDLES, }; -- 2.52.0
