Re: [PATCH 1/4] befs: dump inode_size superblock information

From: Salah Triki
Date: Wed Aug 10 2016 - 17:41:59 EST


On Tue, Aug 09, 2016 at 11:01:23PM +0100, Luis de Bethencourt wrote:
> befs_dump_super_block() wasn't giving the inode_size information when
> dumping all elements of the superblock. Add this element to have complete
> information of the superblock.
>
> Signed-off-by: Luis de Bethencourt <luisbg@xxxxxxxxxxxxxxx>
> ---
>
> Hi,
>
> This is a series of superblock information related changes.
>
> Thanks,
> Luis
>
> fs/befs/debug.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/befs/debug.c b/fs/befs/debug.c
> index 4de7cff..85c1339 100644
> --- a/fs/befs/debug.c
> +++ b/fs/befs/debug.c
> @@ -169,6 +169,7 @@ befs_dump_super_block(const struct super_block *sb, befs_super_block * sup)
>
> befs_debug(sb, " num_blocks %llu", fs64_to_cpu(sb, sup->num_blocks));
> befs_debug(sb, " used_blocks %llu", fs64_to_cpu(sb, sup->used_blocks));
> + befs_debug(sb, " inode_size %u", fs32_to_cpu(sb, sup->inode_size));
>
> befs_debug(sb, " magic2 %08x", fs32_to_cpu(sb, sup->magic2));
> befs_debug(sb, " blocks_per_ag %u",
> --
> 2.5.1
>

Signed-off-by: Salah Triki <salah.triki@xxxxxxxxx>

Thanx
Salah