Btrfs: add checks to verify dir items are correct
authorJosef Bacik <josef@redhat.com>
Wed, 16 Mar 2011 20:47:17 +0000 (16:47 -0400)
committerJosef Bacik <josef@redhat.com>
Thu, 17 Mar 2011 18:21:41 +0000 (14:21 -0400)
We need to make sure the dir items we get are valid dir items.  So any time we
try and read one check it with verify_dir_item, which will do various sanity
checks to make sure it looks sane.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/ctree.h
fs/btrfs/dir-item.c
fs/btrfs/inode.c
fs/btrfs/tree-log.c
fs/btrfs/xattr.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge