fs: port vfs_*() helpers to struct mnt_idmap
[linux-block.git] / fs / nfsd / nfs3proc.c
index d01b29aba66237ca43755d0f739cbe38585cac89..f41992ecd0d791b1bb03ad667fb4d70f5e4b2912 100644 (file)
@@ -320,7 +320,7 @@ nfsd3_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp,
                iap->ia_mode &= ~current_umask();
 
        fh_fill_pre_attrs(fhp);
-       host_err = vfs_create(&init_user_ns, inode, child, iap->ia_mode, true);
+       host_err = vfs_create(&nop_mnt_idmap, inode, child, iap->ia_mode, true);
        if (host_err < 0) {
                status = nfserrno(host_err);
                goto out;