--- fs/ext4/ialloc.c
+++ fs/ext4/ialloc.c
@@ -285,8 +285,12 @@ out:
if (!fatal)
fatal = err;
ext4_mark_super_dirty(sb);
- } else
+ } else {
+ /* for debugging, sangwoo2.lee */
+ print_bh(sb, bitmap_bh, 0, EXT4_BLOCK_SIZE(sb));
+ /* for debugging */
ext4_error(sb, "bit already cleared for inode %lu", ino);
+ }
error_return:
brelse(bitmap_bh);