summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/cache.c
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@primarydata.com>2017-02-23 14:54:21 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-02-23 17:23:35 -0500
commited92d8c137b7794c2c2aa14479298b9885967607 (patch)
tree924e5d4092eda8992f4328d06c2478d382310974 /net/sunrpc/cache.c
parent6682c14bbe505a8b912c57faf544f866777ee48d (diff)
downloadblackbird-op-linux-ed92d8c137b7794c2c2aa14479298b9885967607.tar.gz
blackbird-op-linux-ed92d8c137b7794c2c2aa14479298b9885967607.zip
NFSv4: fix getacl ERANGE for some ACL buffer sizes
We're not taking into account that the space needed for the (variable length) attr bitmap, with the result that we'd sometimes get a spurious ERANGE when the ACL data got close to the end of a page. Just add in an extra page to make sure. Signed-off-by: Weston Andros Adamson <dros@primarydata.com> Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/cache.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud