]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
btrfs: fix typos in btrfs_check_super_valid
authorDavid Sterba <dsterba@suse.cz>
Fri, 31 Oct 2014 18:40:14 +0000 (19:40 +0100)
committerChris Mason <clm@fb.com>
Fri, 21 Nov 2014 01:20:03 +0000 (17:20 -0800)
Copy&paste errors in some messages and add few more missing macro
accessors.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/disk-io.c

index 1bf9f897065dc886ce4463b3d63f5e507c2b953c..7af9a1978a2f93a5a40e1d1fd4c621f24a438abd 100644 (file)
@@ -3839,12 +3839,12 @@ static int btrfs_check_super_valid(struct btrfs_fs_info *fs_info,
         */
        if (!IS_ALIGNED(btrfs_super_root(sb), 4096))
                printk(KERN_WARNING "BTRFS: tree_root block unaligned: %llu\n",
-                               sb->root);
+                               btrfs_super_root(sb));
        if (!IS_ALIGNED(btrfs_super_chunk_root(sb), 4096))
-               printk(KERN_WARNING "BTRFS: tree_root block unaligned: %llu\n",
-                               sb->chunk_root);
+               printk(KERN_WARNING "BTRFS: chunk_root block unaligned: %llu\n",
+                               btrfs_super_chunk_root(sb));
        if (!IS_ALIGNED(btrfs_super_log_root(sb), 4096))
-               printk(KERN_WARNING "BTRFS: tree_root block unaligned: %llu\n",
+               printk(KERN_WARNING "BTRFS: log_root block unaligned: %llu\n",
                                btrfs_super_log_root(sb));
 
        if (memcmp(fs_info->fsid, sb->dev_item.fsid, BTRFS_UUID_SIZE) != 0) {