aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux/string.h
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@primarydata.com>2017-02-23 14:54:21 -0500
committerMister Oyster <oysterized@gmail.com>2017-07-04 11:51:36 +0200
commit53abaa8e292ac0c59e43cc0e19e66627138c03aa (patch)
tree6060ec22dad823c2812a608e2c4948d46ee4f6c3 /include/uapi/linux/string.h
parentb1d30a424a627e7a00472a0b5f75ae1fab84f51c (diff)
NFSv4: fix getacl ERANGE for some ACL buffer sizes
commit ed92d8c137b7794c2c2aa14479298b9885967607 upstream. 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> Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/uapi/linux/string.h')
0 files changed, 0 insertions, 0 deletions