From: Weston Andros Adamson Date: Thu, 23 Feb 2017 19:54:21 +0000 (-0500) Subject: NFSv4: fix getacl ERANGE for some ACL buffer sizes X-Git-Tag: v3.2.89~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a428e42b37525d7538e85309de245e66d6348ab9;p=pandora-kernel.git 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 Signed-off-by: J. Bruce Fields Signed-off-by: Anna Schumaker [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed