From 137dab38c629217a486b16f9f64abdcec9010208 Mon Sep 17 00:00:00 2001 From: Stanislav Kinsbursky Date: Wed, 28 Mar 2012 19:09:35 +0400 Subject: [PATCH] --- yaml --- r: 309792 b: refs/heads/master c: 83e0ed700d4d2cad2f555ae536fafd531f55b6d0 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/nfsd/export.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 7bd8c39f9803..6b675e4bd559 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f2c7ea10f901b7648eb61f1da7243588351f1dac +refs/heads/master: 83e0ed700d4d2cad2f555ae536fafd531f55b6d0 diff --git a/trunk/fs/nfsd/export.c b/trunk/fs/nfsd/export.c index 149532023778..9fe7156f504d 100644 --- a/trunk/fs/nfsd/export.c +++ b/trunk/fs/nfsd/export.c @@ -1035,6 +1035,7 @@ static void *e_start(struct seq_file *m, loff_t *pos) unsigned hash, export; struct cache_head *ch; struct cache_detail *cd = m->private; + struct cache_head **export_table = cd->hash_table; read_lock(&cd->hash_lock); if (!n--) @@ -1061,6 +1062,8 @@ static void *e_next(struct seq_file *m, void *p, loff_t *pos) { struct cache_head *ch = p; int hash = (*pos >> 32); + struct cache_detail *cd = m->private; + struct cache_head **export_table = cd->hash_table; if (p == SEQ_START_TOKEN) hash = 0;