lkml.org 
[lkml]   [2016]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] befs: dump inode_size superblock information
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@osg.samsung.com>
> ---
>
> 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@gmail.com>

Thanx
Salah

\
 
 \ /
  Last update: 2016-08-11 00:21    [W:0.096 / U:1.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site