summaryrefslogtreecommitdiffstats
path: root/utils/mountd/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mountd/cache.c')
-rw-r--r--utils/mountd/cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c
index 9d7d20d..3402d12 100644
--- a/utils/mountd/cache.c
+++ b/utils/mountd/cache.c
@@ -189,7 +189,8 @@ void nfsd_fh(FILE *f)
goto out;
}
- cache_export_ent(dom, found);
+ if (found)
+ cache_export_ent(dom, found);
qword_print(f, dom);
qword_printint(f, fsidtype);