diff options
| -rw-r--r-- | fs/nfsd/export.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c index 149532023778..9fe7156f504d 100644 --- a/fs/nfsd/export.c +++ b/fs/nfsd/export.c | |||
| @@ -1035,6 +1035,7 @@ static void *e_start(struct seq_file *m, loff_t *pos) | |||
| 1035 | unsigned hash, export; | 1035 | unsigned hash, export; |
| 1036 | struct cache_head *ch; | 1036 | struct cache_head *ch; |
| 1037 | struct cache_detail *cd = m->private; | 1037 | struct cache_detail *cd = m->private; |
| 1038 | struct cache_head **export_table = cd->hash_table; | ||
| 1038 | 1039 | ||
| 1039 | read_lock(&cd->hash_lock); | 1040 | read_lock(&cd->hash_lock); |
| 1040 | if (!n--) | 1041 | if (!n--) |
| @@ -1061,6 +1062,8 @@ static void *e_next(struct seq_file *m, void *p, loff_t *pos) | |||
| 1061 | { | 1062 | { |
| 1062 | struct cache_head *ch = p; | 1063 | struct cache_head *ch = p; |
| 1063 | int hash = (*pos >> 32); | 1064 | int hash = (*pos >> 32); |
| 1065 | struct cache_detail *cd = m->private; | ||
| 1066 | struct cache_head **export_table = cd->hash_table; | ||
| 1064 | 1067 | ||
| 1065 | if (p == SEQ_START_TOKEN) | 1068 | if (p == SEQ_START_TOKEN) |
| 1066 | hash = 0; | 1069 | hash = 0; |
