Btrfs: look for acls during btrfs_read_locked_inode
authorChris Mason <chris.mason@oracle.com>
Mon, 27 Apr 2009 15:47:50 +0000 (11:47 -0400)
committerChris Mason <chris.mason@oracle.com>
Mon, 27 Apr 2009 17:18:35 +0000 (13:18 -0400)
commit46a53cca826e71effe59e3cb4f383622c33ebdcb
tree8786a00a80e55862c58785ff40c0d98dc53c194a
parent7b1a14bbb0e547aaa4d30cc376e6c8c12539ab0f
Btrfs: look for acls during btrfs_read_locked_inode

This changes btrfs_read_locked_inode() to peek ahead in the btree for acl items.
If it is certain a given inode has no acls, it will set the in memory acl
fields to null to avoid acl lookups completely.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c