X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fnfsd%2Fnfsproc.c;fp=fs%2Fnfsd%2Fnfsproc.c;h=06cd0db0f32b306dd34dbf1462fdd74b63ecf38f;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=4e06810b6104a684e69874fc54479ea1e4a7ed22;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/fs/nfsd/nfsproc.c b/fs/nfsd/nfsproc.c index 4e06810b6..06cd0db0f 100644 --- a/fs/nfsd/nfsproc.c +++ b/fs/nfsd/nfsproc.c @@ -225,7 +225,7 @@ nfsd_proc_create(struct svc_rqst *rqstp, struct nfsd_createargs *argp, nfserr = nfserr_exist; if (isdotent(argp->name, argp->len)) goto done; - fh_lock_nested(dirfhp, I_MUTEX_PARENT); + fh_lock(dirfhp); dchild = lookup_one_len(argp->name, dirfhp->fh_dentry, argp->len); if (IS_ERR(dchild)) { nfserr = nfserrno(PTR_ERR(dchild));