aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfsd/export.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c
index 340c31a4f3fe..0e1f5d1f1c14 100644
--- a/fs/nfsd/export.c
+++ b/fs/nfsd/export.c
@@ -1178,7 +1178,6 @@ static int e_show(struct seq_file *m, void *p)
1178{ 1178{
1179 struct cache_head *cp = p; 1179 struct cache_head *cp = p;
1180 struct svc_export *exp = container_of(cp, struct svc_export, h); 1180 struct svc_export *exp = container_of(cp, struct svc_export, h);
1181 svc_client *clp;
1182 1181
1183 if (p == (void *)1) { 1182 if (p == (void *)1) {
1184 seq_puts(m, "# Version 1.1\n"); 1183 seq_puts(m, "# Version 1.1\n");
@@ -1186,7 +1185,6 @@ static int e_show(struct seq_file *m, void *p)
1186 return 0; 1185 return 0;
1187 } 1186 }
1188 1187
1189 clp = exp->ex_client;
1190 cache_get(&exp->h); 1188 cache_get(&exp->h);
1191 if (cache_check(&svc_export_cache, &exp->h, NULL)) 1189 if (cache_check(&svc_export_cache, &exp->h, NULL))
1192 return 0; 1190 return 0;