- ns_private = create_mnt_ns(root_mnt);
- if (IS_ERR(ns_private))
- return ERR_CAST(ns_private);
-
- ret = nfs_referral_loop_protect();
- if (ret == 0) {
- ret = vfs_path_lookup(root_mnt->mnt_root, root_mnt,
- export_path, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT,
- &path);
- nfs_referral_loop_unprotect();
- }
-
- put_mnt_ns(ns_private);
-
- if (ret != 0)