]> 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)
commitf1b519f602d700c0400aece094dcb9ad84f5eb92
tree8fe1427b57d4d605e812d30c6ebb052cdaeb6185
parentfddb22d010686e3db110349140683462884e093c
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