repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ZDR: New builtin replacement for RPC/XDR called ZDR
[deb_libnfs.git]
/
lib
/
libnfs.c
diff --git
a/lib/libnfs.c
b/lib/libnfs.c
index 86ff7c22d8e33a0d1c50a5e2ad057983fb3ec791..5754bfbc6489ad097050f204531e96e663a70a7a 100644
(file)
--- a/
lib/libnfs.c
+++ b/
lib/libnfs.c
@@
-37,6
+37,8
@@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <netinet/in.h>
+#include "libnfs-zdr.h"
#include "libnfs.h"
#include "libnfs-raw.h"
#include "libnfs-raw-mount.h"
#include "libnfs.h"
#include "libnfs-raw.h"
#include "libnfs-raw-mount.h"
@@
-3341,7
+3343,7
@@
uint64_t nfs_get_readmax(struct nfs_context *nfs)
*/
uint64_t nfs_get_writemax(struct nfs_context *nfs)
{
*/
uint64_t nfs_get_writemax(struct nfs_context *nfs)
{
- /* Some
X
DR libraries can not marshall PDUs bigger than this */
+ /* Some
Z
DR libraries can not marshall PDUs bigger than this */
if (nfs->writemax < 32768) {
return nfs->writemax;
}
if (nfs->writemax < 32768) {
return nfs->writemax;
}