nfsd4: adjust buflen for encoded attrs bitmap based on actual bitmap length
authorBenny Halevy <bhalevy@panasas.com>
Thu, 30 Sep 2010 18:47:46 +0000 (20:47 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Oct 2010 20:52:24 +0000 (16:52 -0400)
The existing code adjusted it based on the worst case scenario for the returned
bitmap and the best case scenario for the supported attrs attribute.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[bfields@redhat.com: removed likely/unlikely's]
Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found