]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: nfs4xdr: encode_compound_hdr does not have to round up reserved bytes
authorBenny Halevy <bhalevy@panasas.com>
Fri, 14 Aug 2009 14:19:18 +0000 (17:19 +0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 14 Aug 2009 17:16:00 +0000 (13:16 -0400)
commit12decf4d6a8ec8e7a36d3ab81edbf79ed8de32ee
treeab7aa286938009cda8fcaf06ad924eff23fae2fc
parent3a67b0fb4ce7db829bdbe7049e00aa3d0ce7eec8
nfs: nfs4xdr: encode_compound_hdr does not have to round up reserved bytes

This is already done by xdr_reserve_space and since encode_compound_hdr
is adding a byte count to "12" which is already word aligned, the xdr
level rounding will work just as well.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c