ext4: Replace BUG_ON() with ext4_error() in move_extents.c
authorAkira Fujita <a-fujita@rs.jp.nec.com>
Wed, 16 Sep 2009 17:46:35 +0000 (13:46 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 16 Sep 2009 17:46:35 +0000 (13:46 -0400)
commit2147b1a6a48e28399120ca51d4a91840a278611f
treebf60185face40e3a482998f489348afef0e72086
parente8505970af46658ece2545e9bc1fe594998fdcdf
ext4: Replace BUG_ON() with ext4_error() in move_extents.c

Replace BUG_ON calls with a call to ext4_error()
to print an error message if EXT4_IOC_MOVE_EXT failed
with some kind of reasons.  This will help to debug.
Ted pointed this out, thanks.

Signed-off-by: Akira Fujita <a-fujita@rs.jp.nec.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/move_extent.c