diff options
Diffstat (limited to 'fs/nfsd/vfs.c')
-rw-r--r-- | fs/nfsd/vfs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index ec6aaf8b0e36..65043af232ee 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c | |||
@@ -113,7 +113,7 @@ nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp, | |||
113 | 113 | ||
114 | while (follow_down(&mnt,&mounts)&&d_mountpoint(mounts)); | 114 | while (follow_down(&mnt,&mounts)&&d_mountpoint(mounts)); |
115 | 115 | ||
116 | exp2 = exp_get_by_name(exp->ex_client, mnt, mounts, &rqstp->rq_chandle); | 116 | exp2 = rqst_exp_get_by_name(rqstp, mnt, mounts); |
117 | if (IS_ERR(exp2)) { | 117 | if (IS_ERR(exp2)) { |
118 | err = PTR_ERR(exp2); | 118 | err = PTR_ERR(exp2); |
119 | dput(mounts); | 119 | dput(mounts); |
@@ -188,8 +188,7 @@ nfsd_lookup(struct svc_rqst *rqstp, struct svc_fh *fhp, const char *name, | |||
188 | dput(dentry); | 188 | dput(dentry); |
189 | dentry = dp; | 189 | dentry = dp; |
190 | 190 | ||
191 | exp2 = exp_parent(exp->ex_client, mnt, dentry, | 191 | exp2 = rqst_exp_parent(rqstp, mnt, dentry); |
192 | &rqstp->rq_chandle); | ||
193 | if (PTR_ERR(exp2) == -ENOENT) { | 192 | if (PTR_ERR(exp2) == -ENOENT) { |
194 | dput(dentry); | 193 | dput(dentry); |
195 | dentry = dget(dparent); | 194 | dentry = dget(dparent); |