xfs: use generic Posix ACL code
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Jun 2009 15:07:47 +0000 (17:07 +0200)
committerChristoph Hellwig <hch@brick.lst.de>
Wed, 10 Jun 2009 15:07:47 +0000 (17:07 +0200)
commitef14f0c1578dce4b688726eb2603e50b62d6665a
tree5a221081850fab8f96455745e90f4a0e2127bce0
parent8b5403a6d772d340541cfb30a668fde119c40ac1
xfs: use generic Posix ACL code

This patch rips out the XFS ACL handling code and uses the generic
fs/posix_acl.c code instead.  The ondisk format is of course left
unchanged.

This also introduces the same ACL caching all other Linux filesystems do
by adding pointers to the acl and default acl in struct xfs_inode.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
26 files changed:
fs/xfs/Kconfig
fs/xfs/Makefile
fs/xfs/linux-2.6/xfs_acl.c [new file with mode: 0644]
fs/xfs/linux-2.6/xfs_ioctl.c
fs/xfs/linux-2.6/xfs_iops.c
fs/xfs/linux-2.6/xfs_lrw.c
fs/xfs/linux-2.6/xfs_super.c
fs/xfs/linux-2.6/xfs_xattr.c
fs/xfs/quota/xfs_dquot.c
fs/xfs/quota/xfs_dquot_item.c
fs/xfs/quota/xfs_qm.c
fs/xfs/quota/xfs_qm_bhv.c
fs/xfs/quota/xfs_qm_stats.c
fs/xfs/quota/xfs_qm_syscalls.c
fs/xfs/quota/xfs_trans_dquot.c
fs/xfs/xfs_acl.c [deleted file]
fs/xfs/xfs_acl.h
fs/xfs/xfs_arch.h
fs/xfs/xfs_attr.c
fs/xfs/xfs_iget.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_iomap.c
fs/xfs/xfs_rw.c
fs/xfs/xfs_vnodeops.c
fs/xfs/xfs_vnodeops.h