summaryrefslogtreecommitdiff
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2010-09-30 18:47:46 (GMT)
committerJ. Bruce Fields <bfields@redhat.com>2010-10-01 20:52:24 (GMT)
commit2b44f1ba40914777f4b1075254ba97663d4e2574 (patch)
tree1db499fcc1aadc447d11b7c901707db8f7b430d8 /net/sunrpc/xprt.c
parentc135e84afb6bcec9cb8ef0492fa4867efbfaad91 (diff)
downloadlinux-2b44f1ba40914777f4b1075254ba97663d4e2574.tar.xz
nfsd4: adjust buflen for encoded attrs bitmap based on actual bitmap length
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>
Diffstat (limited to 'net/sunrpc/xprt.c')
0 files changed, 0 insertions, 0 deletions