diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2013-12-09 12:31:21 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-01-03 19:44:12 +0100 |
commit | a9f7b4a06c9704fa3cfe0b0601347e03289a7407 (patch) | |
tree | 271ac8b5e4b40e0b46cdc0634a5637081d33802d /crypto | |
parent | nfsd: get rid of unused function definition (diff) | |
download | linux-a9f7b4a06c9704fa3cfe0b0601347e03289a7407.tar.xz linux-a9f7b4a06c9704fa3cfe0b0601347e03289a7407.zip |
nfsd: clean up an xdr reserved space calculation
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions