commit | a9f7b4a06c9704fa3cfe0b0601347e03289a7407 | [log] [tgz] |
---|---|---|
author | Kinglong Mee <kinglongmee@gmail.com> | Mon Dec 09 19:31:21 2013 +0800 |
committer | J. Bruce Fields <bfields@redhat.com> | Fri Jan 03 13:44:12 2014 -0500 |
tree | 271ac8b5e4b40e0b46cdc0634a5637081d33802d | |
parent | b9b284df6c2013aeceb974055426f35e03ac43fc [diff] |
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>