]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: encode_attrs should not backfill the bitmap and attribute length
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 17 Jul 2013 21:09:01 +0000 (17:09 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Jul 2013 22:18:53 +0000 (18:18 -0400)
commitf4b0a0c2f1d409f496e37504cb3de42c38459c1e
tree8fe1427b57d4d605e812d30c6ebb052cdaeb6185
parent072421cba50e84ec6840fb01f7adbae2e020e7c8
NFSv4: encode_attrs should not backfill the bitmap and attribute length

The attribute length is already calculated in advance. There is no
reason why we cannot calculate the bitmap in advance too so that
we don't have to play pointer games.

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