Btrfs: make sure we're not using obsolete code in btrfs_get_extent
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Thu, 1 Dec 2011 13:35:19 +0000 (14:35 +0100)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Thu, 5 Jan 2012 14:11:55 +0000 (15:11 +0100)
commit6bf7e080d5bcb0d399ee38ce3dabbfad64448192
tree954fc4c3ae899b1bb4b89af03582a81546eda4bf
parent4692cf58aa7b81f721c1653d48db99ea41421d58
Btrfs: make sure we're not using obsolete code in btrfs_get_extent

There's code in btrfs_get_extent that should never be used. This patch turns
a WARN_ON(1) into a BUG(), hoping we can remove the transaction code from
btrfs_get_extent soon.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/inode.c