xfs: validate acl count
authorChristoph Hellwig <hch@infradead.org>
Sun, 20 Nov 2011 15:35:32 +0000 (15:35 +0000)
committerBen Myers <bpm@sgi.com>
Tue, 29 Nov 2011 04:14:24 +0000 (22:14 -0600)
commitfa8b18edd752a8b4e9d1ee2cd615b82c93cf8bba
tree9765979df5cd3da5f7e7c54b6fcf47ae26486ec9
parentc8891329131f791e0ddc422eaf6fc86e9a8cf8f5
xfs: validate acl count

This prevents in-memory corruption and possible panics if the on-disk
ACL is badly corrupted.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_acl.c