ubifs: ubifs_dump_inode: Fix dumping field bulk_read
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 16 May 2016 19:46:30 +0000 (21:46 +0200)
committerRichard Weinberger <richard@nod.at>
Tue, 24 May 2016 13:29:44 +0000 (15:29 +0200)
The wrong field (xattr) is dumped here due to a copy-and-paste error.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/debug.c

index 595ca0d..69e287e 100644 (file)
@@ -260,7 +260,7 @@ void ubifs_dump_inode(struct ubifs_info *c, const struct inode *inode)
        pr_err("\txattr_names    %u\n", ui->xattr_names);
        pr_err("\tdirty          %u\n", ui->dirty);
        pr_err("\txattr          %u\n", ui->xattr);
-       pr_err("\tbulk_read      %u\n", ui->xattr);
+       pr_err("\tbulk_read      %u\n", ui->bulk_read);
        pr_err("\tsynced_i_size  %llu\n",
               (unsigned long long)ui->synced_i_size);
        pr_err("\tui_size        %llu\n",