]> 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)
commit16da69f49388adc08d4d0bd4c72bcc2f6703658a
tree2687c83330c2328b0ffc49ff5a414a4d53280b77
parent7fc125f26e501224b6419c3eb0964070525cbca1
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