Message ID | 20190201132021.14794-1-nborisov@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs-progs: Use a single tab for 'leafsize (deprecated)' row | expand |
On Fri, Feb 01, 2019 at 03:20:21PM +0200, Nikolay Borisov wrote: > Since this row is longer than the rest it's enough to use a single tab > character to delimig the value from caption. Without this patch > output looked like: > > nodesize 16384 > leafsize (deprecated) 16384 > > With it: > > nodesize 16384 > leafsize (deprecated) 16384 > > No functional changes just making the output a bit neater. > > Signed-off-by: Nikolay Borisov <nborisov@suse.com> Applied, thanks.
diff --git a/cmds-inspect-dump-super.c b/cmds-inspect-dump-super.c index 97e9624db8d7..7815c863f2ed 100644 --- a/cmds-inspect-dump-super.c +++ b/cmds-inspect-dump-super.c @@ -410,7 +410,7 @@ static void dump_superblock(struct btrfs_super_block *sb, int full) (unsigned long long)btrfs_super_sectorsize(sb)); printf("nodesize\t\t%llu\n", (unsigned long long)btrfs_super_nodesize(sb)); - printf("leafsize (deprecated)\t\t%u\n", + printf("leafsize (deprecated)\t%u\n", le32_to_cpu(sb->__unused_leafsize)); printf("stripesize\t\t%llu\n", (unsigned long long)btrfs_super_stripesize(sb));
Since this row is longer than the rest it's enough to use a single tab character to delimig the value from caption. Without this patch output looked like: nodesize 16384 leafsize (deprecated) 16384 With it: nodesize 16384 leafsize (deprecated) 16384 No functional changes just making the output a bit neater. Signed-off-by: Nikolay Borisov <nborisov@suse.com> --- cmds-inspect-dump-super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)