X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmountd%2Fcache.c;h=3402d12b1e6468ebeaeb51c1fffa3fbc462daba8;hp=9d7d20d99e9c1a4cc651d7256fcde109f759210a;hb=460ef2f898148fbc858cffe9d2ac12070131d5dd;hpb=312181c3f67fdce2388f1f58cfc220c09b551c59 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);