projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69bbd9c
)
nfsd: Fix bad reserving space for encoding rdattr_error
author
Kinglong Mee
<kinglongmee@gmail.com>
Sun, 6 Jul 2014 03:34:43 +0000
(11:34 +0800)
committer
J. Bruce Fields
<bfields@redhat.com>
Mon, 7 Jul 2014 18:16:31 +0000
(14:16 -0400)
Introduced by commit
561f0ed498
(nfsd4: allow large readdirs).
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/nfs4xdr.c
b/fs/nfsd/nfs4xdr.c
index 2fc7abebeb9b97e4192f04311f06752c4de92d79..b56b1cc0271853b566f83f4157eaa753fd8ad2e3 100644
(file)
--- a/
fs/nfsd/nfs4xdr.c
+++ b/
fs/nfsd/nfs4xdr.c
@@
-2641,7
+2641,7
@@
nfsd4_encode_rdattr_error(struct xdr_stream *xdr, __be32 nfserr)
{
__be32 *p;
- p = xdr_reserve_space(xdr,
6
);
+ p = xdr_reserve_space(xdr,
20
);
if (!p)
return NULL;
*p++ = htonl(2);