]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix verification of dir_item
authorFilipe David Borba Manana <fdmanana@gmail.com>
Mon, 28 Oct 2013 16:28:30 +0000 (16:28 +0000)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:10:36 +0000 (22:10 -0500)
commit445e449f16792b85345c11917f16190e0151e36c
tree1a51753979036d5e9344dbd5cfac4075d20e20ea
parent354053b4d16c3ae89aa4611476c84c1335b4a566
Btrfs: fix verification of dir_item

We were ignoring the name component of the dir_item. Both the
name and data must fit within BTRFS_MAX_XATTR_SIZE(root).

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/dir-item.c