]> git.karo-electronics.de Git - linux-beck.git/commitdiff
UBIFS: Align the dump messages of SB_NODE
authorhujianyang <hujianyang@huawei.com>
Sat, 20 Sep 2014 06:55:11 +0000 (14:55 +0800)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 26 Sep 2014 10:33:41 +0000 (13:33 +0300)
I found the dump messages of UBIFS_SB_NODE is not aligned. This
patch remove the extra space from the line which is retracted.

Signed-off-by: hujianyang <hujianyang@huawei.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/debug.c

index 177b0152fef48c2a71975ce41dc811b11c7b45d7..d0bcf9290ea4fa241ec6c4c836e90b366d69de70 100644 (file)
@@ -334,9 +334,9 @@ void ubifs_dump_node(const struct ubifs_info *c, const void *node)
                pr_err("\tkey_fmt        %d (%s)\n",
                       (int)sup->key_fmt, get_key_fmt(sup->key_fmt));
                pr_err("\tflags          %#x\n", sup_flags);
-               pr_err("\t  big_lpt      %u\n",
+               pr_err("\tbig_lpt        %u\n",
                       !!(sup_flags & UBIFS_FLG_BIGLPT));
-               pr_err("\t  space_fixup  %u\n",
+               pr_err("\tspace_fixup    %u\n",
                       !!(sup_flags & UBIFS_FLG_SPACE_FIXUP));
                pr_err("\tmin_io_size    %u\n", le32_to_cpu(sup->min_io_size));
                pr_err("\tleb_size       %u\n", le32_to_cpu(sup->leb_size));