btrfsck: fix incorrect casting on items in the corrupt_blocks tree
authorChris Mason <chris.mason@fusionio.com>
Fri, 5 Jul 2013 15:09:04 +0000 (11:09 -0400)
committerChris Mason <chris.mason@fusionio.com>
Fri, 5 Jul 2013 15:09:04 +0000 (11:09 -0400)
commite035bcdddbd9dbe890e048066df6cbdd7cc06815
tree5a1a9a30532a0914cc362e0417cb9499dbff8a19
parent4fbfcaa8beb901050612bc35a0c8bbc1f3b58188
btrfsck: fix incorrect casting on items in the corrupt_blocks tree

check_extent_refs is pinning down all the corrupt tree blocks it finds,
but it is incorrectly casting these to an extent_record first.

Signed-off-by: Chris Mason <chris.mason@fusionio.com>
cmds-check.c