ext3: Unify log messages in ext3
authorAlexey Fisher <bug-track@fisher-privat.net>
Sun, 22 Nov 2009 19:38:55 +0000 (20:38 +0100)
committerJan Kara <jack@suse.cz>
Thu, 10 Dec 2009 14:02:53 +0000 (15:02 +0100)
commit4cf46b67eb6de94532c1bea11d2479d085229d0e
tree1d14729f879ccc0afc56563b4edfb50ddec8c38c
parent2074abfeb8ea2904aeeaecc45e0dfea3f83a22b2
ext3: Unify log messages in ext3

Make messages produced by ext3 more unified. It should be
easy to parse.

dmesg before patch:
[ 4893.684892] reservations ON
[ 4893.684896] xip option not supported
[ 4893.684964] EXT3-fs warning: maximal mount count reached, running
e2fsck is recommended

dmesg after patch:
[  873.300792] EXT3-fs (loop0): using internal journaln
[  873.300796] EXT3-fs (loop0): mounted filesystem with writeback data mode
[  924.163657] EXT3-fs (loop0): error: can't find ext3 filesystem on dev loop0.
[  723.755642] EXT3-fs (loop0): error: bad blocksize 8192
[  357.874687] EXT3-fs (loop0): error: no journal found. mounting ext3 over ext2?
[  873.300764] EXT3-fs (loop0): warning: maximal mount count reached, running e2fsck is recommended
[  924.163657] EXT3-fs (loop0): error: can't find ext3 filesystem on dev loop0.

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/super.c
include/linux/ext3_fs.h