xfs: fix memory allocation failures with ACLs
authorDave Chinner <dchinner@redhat.com>
Mon, 2 Sep 2013 10:52:59 +0000 (20:52 +1000)
committerBen Myers <bpm@sgi.com>
Tue, 10 Sep 2013 18:56:25 +0000 (13:56 -0500)
Ever since increasing the number of supported ACLs from 25 to as
many as can fit in an xattr, there have been reports of order 4
memory allocations failing in the ACL code. Fix it in the same way
we've fixed all the xattr read/write code that has the same problem.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>

No differences found