Skip to contentSkip to conversation

btrfs-progs: Use a single tab for 'leafsize (deprecated)' row

PATCH Applied Nikolay Borisov 2 participants 2 messages Feb 1, 2019 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 btrfs-progs: Use a single tab for 'leafsize (deprecated)' row

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.

---
 cmds-inspect-dump-super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cmds-inspect-dump-super.c +1 -1
index 97e9624db8d7..7815c863f2ed 100644
@@ -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));
Signature · 1 line
2.17.1
Applied
#1 lore raw
Quoted 7 lines · Nikolay Borisov

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

Quoted 8 lines

With it:

nodesize 16384
leafsize (deprecated) 16384

No functional changes just making the output a bit neater.

Applied, thanks.