From: Andrew Morton print_hex_dump() got fancy. Cc: Vasily Averin Cc: "Randy.Dunlap" Signed-off-by: Andrew Morton --- fs/ext3/super.c | 5 +++-- fs/ext4/super.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff -puN fs/ext3/super.c~ext3-ext4-orphan-list-check-on-destroy_inode-fix fs/ext3/super.c --- a/fs/ext3/super.c~ext3-ext4-orphan-list-check-on-destroy_inode-fix +++ a/fs/ext3/super.c @@ -462,8 +462,9 @@ static void ext3_destroy_inode(struct in if (!list_empty(&(EXT3_I(inode)->i_orphan))) { printk("EXT3 Inode %p: orphan list check failed!\n", EXT3_I(inode)); - print_hex_dump(KERN_INFO, DUMP_PREFIX_ADDRESS, - EXT3_I(inode), sizeof(struct ext3_inode_info)); + print_hex_dump(KERN_INFO, "", DUMP_PREFIX_ADDRESS, 16, 4, + EXT3_I(inode), sizeof(struct ext3_inode_info), + false); dump_stack(); } kmem_cache_free(ext3_inode_cachep, EXT3_I(inode)); diff -puN fs/ext4/super.c~ext3-ext4-orphan-list-check-on-destroy_inode-fix fs/ext4/super.c --- a/fs/ext4/super.c~ext3-ext4-orphan-list-check-on-destroy_inode-fix +++ a/fs/ext4/super.c @@ -513,8 +513,9 @@ static void ext4_destroy_inode(struct in if (!list_empty(&(EXT4_I(inode)->i_orphan))) { printk("EXT4 Inode %p: orphan list check failed!\n", EXT4_I(inode)); - print_hex_dump(KERN_INFO, DUMP_PREFIX_ADDRESS, - EXT4_I(inode), sizeof(struct ext4_inode_info)); + print_hex_dump(KERN_INFO, "", DUMP_PREFIX_ADDRESS, 16, 4, + EXT4_I(inode), sizeof(struct ext4_inode_info), + true); dump_stack(); } kmem_cache_free(ext4_inode_cachep, EXT4_I(inode)); _