summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/export.c
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2014-06-10 16:06:44 +0200
committerJ. Bruce Fields <bfields@redhat.com>2014-06-23 17:31:36 +0200
commitbf18f163e89c52e09c96534db45c4274273a0b34 (patch)
tree530a62156eaa8fa37ff1d19131cf275c49054667 /fs/nfsd/export.c
parentNFSD: Using path_get when assigning path for export (diff)
downloadlinux-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/export.c')
-rw-r--r--fs/nfsd/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c
index ef2d9d62ce2b..72ffd7cce3c3 100644
--- a/fs/nfsd/export.c
+++ b/fs/nfsd/export.c
@@ -1253,7 +1253,7 @@ static int e_show(struct seq_file *m, void *p)
return 0;
}
- cache_get(&exp->h);
+ exp_get(exp);
if (cache_check(cd, &exp->h, NULL))
return 0;
exp_put(exp);