git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9b284d
)
nfsd: clean up an xdr reserved space calculation
author
Kinglong Mee
<kinglongmee@gmail.com>
Mon, 9 Dec 2013 11:31:21 +0000
(19:31 +0800)
committer
J. Bruce Fields
<bfields@redhat.com>
Fri, 3 Jan 2014 18:44:12 +0000
(13:44 -0500)
We should use XDR_LEN to calculate reserved space in case the oid is not
a multiple of 4.
RESERVE_SPACE actually rounds up for us, but it's probably better to be
careful here.
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
No differences found