diff options
| -rw-r--r-- | fs/nfs/nfs4xdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c index cfcabc33e24d..602446158bfb 100644 --- a/fs/nfs/nfs4xdr.c +++ b/fs/nfs/nfs4xdr.c | |||
| @@ -2589,7 +2589,7 @@ static void nfs4_xdr_enc_getacl(struct rpc_rqst *req, struct xdr_stream *xdr, | |||
| 2589 | ARRAY_SIZE(nfs4_acl_bitmap), &hdr); | 2589 | ARRAY_SIZE(nfs4_acl_bitmap), &hdr); |
| 2590 | 2590 | ||
| 2591 | rpc_prepare_reply_pages(req, args->acl_pages, 0, | 2591 | rpc_prepare_reply_pages(req, args->acl_pages, 0, |
| 2592 | args->acl_len, replen); | 2592 | args->acl_len, replen + 1); |
| 2593 | encode_nops(&hdr); | 2593 | encode_nops(&hdr); |
| 2594 | } | 2594 | } |
| 2595 | 2595 | ||
| @@ -2811,7 +2811,7 @@ static void nfs4_xdr_enc_fs_locations(struct rpc_rqst *req, | |||
| 2811 | } | 2811 | } |
| 2812 | 2812 | ||
| 2813 | rpc_prepare_reply_pages(req, (struct page **)&args->page, 0, | 2813 | rpc_prepare_reply_pages(req, (struct page **)&args->page, 0, |
| 2814 | PAGE_SIZE, replen); | 2814 | PAGE_SIZE, replen + 1); |
| 2815 | encode_nops(&hdr); | 2815 | encode_nops(&hdr); |
| 2816 | } | 2816 | } |
| 2817 | 2817 | ||
