diff options
author | Neil Brown <neilb@suse.de> | 2007-01-11 12:45:48 +1100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-01-11 12:45:48 +1100 |
commit | 8fd9fad1ea4b25b8962d70133f476650ef0637b0 (patch) | |
tree | ebc6a359e751f4dcc7167ed1cbe83c86d3a9e0c2 /support/include | |
parent | 95b414a6038d1d4efb1b1ec90c2da17def7064b2 (diff) | |
download | nfs-utils-8fd9fad1ea4b25b8962d70133f476650ef0637b0.tar.gz nfs-utils-8fd9fad1ea4b25b8962d70133f476650ef0637b0.tar.xz nfs-utils-8fd9fad1ea4b25b8962d70133f476650ef0637b0.zip |
Error check messages sent to the kernel.
And make sure that if we fail to export a filesystem in mountd,
then we don't try to get a filehandle on it, or a deadlock
might occur.
Diffstat (limited to 'support/include')
-rw-r--r-- | support/include/nfslib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/include/nfslib.h b/support/include/nfslib.h index 3e25761..aba37c2 100644 --- a/support/include/nfslib.h +++ b/support/include/nfslib.h @@ -132,7 +132,7 @@ struct nfs_fh_len * getfh_size(struct sockaddr *addr, const char *, int size); void qword_print(FILE *f, char *str); void qword_printhex(FILE *f, char *str, int slen); void qword_printint(FILE *f, int num); -void qword_eol(FILE *f); +int qword_eol(FILE *f); int readline(int fd, char **buf, int *lenp); int qword_get(char **bpp, char *dest, int bufsize); int qword_get_int(char **bpp, int *anint); |