summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2010-09-30 20:47:46 +0200
committerJ. Bruce Fields <bfields@redhat.com>2010-10-01 16:52:24 -0400
commit2b44f1ba40914777f4b1075254ba97663d4e2574 (patch)
tree1db499fcc1aadc447d11b7c901707db8f7b430d8 /net/sunrpc/xprt.c
parentc135e84afb6bcec9cb8ef0492fa4867efbfaad91 (diff)
downloadop-kernel-dev-2b44f1ba40914777f4b1075254ba97663d4e2574.zip
op-kernel-dev-2b44f1ba40914777f4b1075254ba97663d4e2574.tar.gz
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
OpenPOWER on IntegriCloud