ext4: Convert BUG_ON checks to use ext4_error() instead
authorFrank Mayhar <fmayhar@google.com>
Tue, 2 Mar 2010 16:46:09 +0000 (11:46 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 2 Mar 2010 16:46:09 +0000 (11:46 -0500)
commit273df556b6ee2065bfe96edab5888d3dc9b108d8
tree19c73685fce581e4ed85ff845e0b2fc485cedf9c
parentb7adc1f363e72e9131a582cc2cb00eaf83f51a39
ext4: Convert BUG_ON checks to use ext4_error() instead

Convert a bunch of BUG_ONs to emit a ext4_error() message and return
EIO.  This is a first pass and most notably does _not_ cover
mballoc.c, which is a morass of void functions.

Signed-off-by: Frank Mayhar <fmayhar@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/extents.c
fs/ext4/inode.c
fs/ext4/super.c