diff options
| -rw-r--r-- | fs/nfsd/nfsxdr.c | 2 | ||||
| -rw-r--r-- | include/linux/nfsd/const.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfsd/nfsxdr.c b/fs/nfsd/nfsxdr.c index 3e59bdb864d2..a61281b0e851 100644 --- a/fs/nfsd/nfsxdr.c +++ b/fs/nfsd/nfsxdr.c @@ -385,7 +385,7 @@ nfssvc_encode_statfsres(struct svc_rqst *rqstp, u32 *p, { struct statfs *stat = &resp->stats; - *p++ = htonl(8 * 1024); /* max transfer size */ + *p++ = htonl(NFSSVC_MAXBLKSIZE); /* max transfer size */ *p++ = htonl(stat->f_bsize); *p++ = htonl(stat->f_blocks); *p++ = htonl(stat->f_bfree); diff --git a/include/linux/nfsd/const.h b/include/linux/nfsd/const.h index f59c6a6ef8c4..bd828fa0314f 100644 --- a/include/linux/nfsd/const.h +++ b/include/linux/nfsd/const.h @@ -19,9 +19,9 @@ #define NFSSVC_MAXVERS 3 /* - * Maximum blocksize supported by daemon currently at 8K + * Maximum blocksize supported by daemon currently at 32K */ -#define NFSSVC_MAXBLKSIZE 8192 +#define NFSSVC_MAXBLKSIZE (32*1024) #ifdef __KERNEL__ |
