• Alexey Fisher's avatar
    ext2: Unify log messages in ext2 · 2314b07c
    Alexey Fisher authored
    make messages produced by ext2 more unified. It should be
    easy to parse.
    
    dmesg before patch:
    [ 4893.684892] reservations ON
    [ 4893.684896] xip option not supported
    [ 4893.684961] EXT2-fs warning: mounting ext3 filesystem as ext2
    [ 4893.684964] EXT2-fs warning: maximal mount count reached, running
    e2fsck is recommended
    [ 4893.684990] EXT II FS: 0.5b, 95/08/09, bs=1024, fs=1024, gc=2,
    bpg=8192, ipg=1280, mo=80010]
    
    dmesg after patch:
    [ 4893.684892] EXT2-fs (loop0): reservations ON
    [ 4893.684896] EXT2-fs (loop0): xip option not supported
    [ 4893.684961] EXT2-fs (loop0): warning: mounting ext3 filesystem as
    ext2
    [ 4893.684964] EXT2-fs (loop0): warning: maximal mount count reached,
    running e2fsck is recommended
    [ 4893.684990] EXT2-fs (loop0): 0.5b, 95/08/09, bs=1024, fs=1024, gc=2,
    bpg=8192, ipg=1280, mo=80010]
    Signed-off-by: default avatarAlexey Fisher <bug-track@fisher-privat.net>
    Reviewed-by: default avatarAndreas Dilger <adilger@sun.com>
    Signed-off-by: default avatarJan Kara <jack@suse.cz>
    2314b07c
inode.c 42.6 KB