]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commit2dc164f2965b92a6efd2edb9e2813271741e96db
tree2687c83330c2328b0ffc49ff5a414a4d53280b77
parent0a4edc8f0b54cd5f613e7fda7dc8106cb9869bc9
xfs: fix memory allocation failures with ACLs

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>
fs/xfs/xfs_acl.c