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>
This commit is contained in:

committed by
J. Bruce Fields

parent
0da22a919d
commit
bf18f163e8
@@ -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);
|
||||
|
Reference in New Issue
Block a user