]> git.baikalelectronics.ru Git - kernel.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)
commitc4d23c580705e7133ee15fc5c51d3c72a42b0ed1
tree2687c83330c2328b0ffc49ff5a414a4d53280b77
parentc9e104dfb7c916d2eef18b2562c058e1d4755662
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