Add the EXPORT_OP_STABLE_HANDLES flag to cifs export operations to indicate that this filesystem can be exported via NFS.
Signed-off-by: Jeff Layton <[email protected]> --- fs/smb/client/export.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/smb/client/export.c b/fs/smb/client/export.c index d606e8cbcb7db2b4026675bd9cbc264834687807..6dfdba9fcade9e4d7ae01fd107e84956f2f9b82a 100644 --- a/fs/smb/client/export.c +++ b/fs/smb/client/export.c @@ -43,6 +43,7 @@ static struct dentry *cifs_get_parent(struct dentry *dentry) const struct export_operations cifs_export_ops = { .encode_fh = generic_encode_ino32_fh, .get_parent = cifs_get_parent, + .flags = EXPORT_OP_STABLE_HANDLES, /* * Following export operations are mandatory for NFS export support: * .fh_to_dentry = -- 2.52.0
