knfsd: nfsd: provide export lookup wrappers which take a svc_rqst
[deliverable/linux.git] / fs / nfsd / vfs.c
index ec6aaf8b0e360cf0c3b565a72f9b88666cd068fb..65043af232ee49492b729062635f8bfce03edf06 100644 (file)
@@ -113,7 +113,7 @@ nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp,
 
        while (follow_down(&mnt,&mounts)&&d_mountpoint(mounts));
 
-       exp2 = exp_get_by_name(exp->ex_client, mnt, mounts, &rqstp->rq_chandle);
+       exp2 = rqst_exp_get_by_name(rqstp, mnt, mounts);
        if (IS_ERR(exp2)) {
                err = PTR_ERR(exp2);
                dput(mounts);
@@ -188,8 +188,7 @@ nfsd_lookup(struct svc_rqst *rqstp, struct svc_fh *fhp, const char *name,
                        dput(dentry);
                        dentry = dp;
 
-                       exp2 = exp_parent(exp->ex_client, mnt, dentry,
-                                         &rqstp->rq_chandle);
+                       exp2 = rqst_exp_parent(rqstp, mnt, dentry);
                        if (PTR_ERR(exp2) == -ENOENT) {
                                dput(dentry);
                                dentry = dget(dparent);
This page took 0.034093 seconds and 5 git commands to generate.