Btrfs: do not BUG_ON in prepare_to_reloc
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 4 Mar 2013 16:25:39 +0000 (16:25 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 4 Mar 2013 21:33:23 +0000 (16:33 -0500)
commit288189471d7e12fb22c37870e151833f438deea8
treee15070a254c9b16e919c315bee972d90176d8d28
parente1a1267054ea9dcafd01636e52d441f809efad5e
Btrfs: do not BUG_ON in prepare_to_reloc

We can bail out from here gracefully instead of a cold BUG_ON.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/relocation.c