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/export.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/export.c')
-rw-r--r-- | fs/nfsd/export.c | 2 |
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); |