diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | utils/mountd/cache.c | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2003-06-16 "J. Bruce Fields" <bfields@fieldses.org> + + * utils/mountd/cache.c(nfsd_fh): don't export the export_ent + if it wasn't found. + 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au> * debian/nfs-kernel-server.init,etc/nodist/nfs-server, 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); |