reiserfs: introduce reiserfs_error()
authorJeff Mahoney <jeffm@suse.com>
Mon, 30 Mar 2009 18:02:27 +0000 (14:02 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 30 Mar 2009 19:16:36 +0000 (12:16 -0700)
commit1e5e59d431038c53954fe8f0b38bee0f0ad30349
tree25e10648779424a85de6d368bd08c53c51c8f7a8
parent32e8b1062915d00d07d3b88a95174648e369b6a3
reiserfs: introduce reiserfs_error()

Although reiserfs can currently handle severe errors such as journal failure,
it cannot handle less severe errors like metadata i/o failure. The following
patch adds a reiserfs_error() function akin to the one in ext3.

Subsequent patches will use this new error handler to handle errors more
gracefully in general.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/prints.c
include/linux/reiserfs_fs.h