summaryrefslogtreecommitdiffstats
path: root/support/include/exportfs.h
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2014-11-17 13:17:20 -0500
committerSteve Dickson <steved@redhat.com>2014-11-17 13:18:14 -0500
commite725def62c73b4aa269fefc4c0d96abb41927fcb (patch)
treee78df60d2810405aebca36f482f7dbb7a4e75f1f /support/include/exportfs.h
parent22656570c024e378baf66ca26fe2ab2bcc897129 (diff)
downloadnfs-utils-e725def62c73b4aa269fefc4c0d96abb41927fcb.tar.gz
nfs-utils-e725def62c73b4aa269fefc4c0d96abb41927fcb.tar.xz
nfs-utils-e725def62c73b4aa269fefc4c0d96abb41927fcb.zip
exportfs: Do not fail on empty exports file.
Commit 076dd80 introduced a regression that causes exportfs to fail when there is an empty /etc/exports file. A empty /etc/exports file is valid and should not cause exportfs to fail. Signed-off-by: Steve Dickson <steved@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/exportfs.h')
-rw-r--r--support/include/exportfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/include/exportfs.h b/support/include/exportfs.h
index 9021fae..3d89f12 100644
--- a/support/include/exportfs.h
+++ b/support/include/exportfs.h
@@ -133,7 +133,7 @@ struct addrinfo * client_resolve(const struct sockaddr *sap);
int client_member(const char *client,
const char *name);
-void export_read(char *fname);
+void export_read(char *fname, int verbose);
void export_reset(nfs_export *);
nfs_export * export_lookup(char *hname, char *path, int caconical);
nfs_export * export_find(const struct addrinfo *ai,