repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't clamp write3 max to 32k
[deb_libnfs.git]
/
lib
/
libnfs.c
diff --git
a/lib/libnfs.c
b/lib/libnfs.c
index ec1396623ad2a4a2247c2abeb416124d2c34038e..0b831234ac0e84479d0847bf0cfc0e88c28972a5 100644
(file)
--- a/
lib/libnfs.c
+++ b/
lib/libnfs.c
@@
-3446,11
+3446,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 ZDR libraries can not marshall PDUs bigger than this */
- if (nfs->writemax < 32768) {
- return nfs->writemax;
- }
- return 32768;
+ return nfs->writemax;
}
void nfs_set_error(struct nfs_context *nfs, char *error_string, ...)
}
void nfs_set_error(struct nfs_context *nfs, char *error_string, ...)