diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2014-06-10 16:06:44 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-06-23 17:31:36 +0200 |
commit | bf18f163e89c52e09c96534db45c4274273a0b34 (patch) | |
tree | 530a62156eaa8fa37ff1d19131cf275c49054667 /fs/nfsd/vfs.c | |
parent | NFSD: Using path_get when assigning path for export (diff) | |
download | linux-bf18f163e89c52e09c96534db45c4274273a0b34.tar.xz linux-bf18f163e89c52e09c96534db45c4274273a0b34.zip |
NFSD: Using exp_get for export getting
Don't using cache_get besides export.h, using exp_get for export.
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/vfs.c')
-rw-r--r-- | fs/nfsd/vfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 7498099b382f..df7cf61f2cd3 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c @@ -189,8 +189,7 @@ nfsd_lookup_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp, dprintk("nfsd: nfsd_lookup(fh %s, %.*s)\n", SVCFH_fmt(fhp), len,name); dparent = fhp->fh_dentry; - exp = fhp->fh_export; - exp_get(exp); + exp = exp_get(fhp->fh_export); /* Lookup the name, but don't follow links */ if (isdotent(name, len)) { |