]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
Btrfs - use %pU to print fsid
authorIlya Dryomov <idryomov@gmail.com>
Wed, 9 Feb 2011 14:05:31 +0000 (16:05 +0200)
committerChris Mason <chris.mason@oracle.com>
Fri, 10 Jun 2011 23:02:04 +0000 (19:02 -0400)
Get rid of FIXME comment.  Uuids from dmesg are now the same as uuids
given by btrfs-progs.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/volumes.c

index da541dfca2e335c2419242b44d7a3fbaa9ccc300..1efa56e18f9b905ceac4dbcb3faa0221ab331ce2 100644 (file)
@@ -689,12 +689,8 @@ int btrfs_scan_one_device(const char *path, fmode_t flags, void *holder,
        transid = btrfs_super_generation(disk_super);
        if (disk_super->label[0])
                printk(KERN_INFO "device label %s ", disk_super->label);
-       else {
-               /* FIXME, make a readl uuid parser */
-               printk(KERN_INFO "device fsid %llx-%llx ",
-                      *(unsigned long long *)disk_super->fsid,
-                      *(unsigned long long *)(disk_super->fsid + 8));
-       }
+       else
+               printk(KERN_INFO "device fsid %pU ", disk_super->fsid);
        printk(KERN_CONT "devid %llu transid %llu %s\n",
               (unsigned long long)devid, (unsigned long long)transid, path);
        ret = device_list_add(path, disk_super, devid, fs_devices_ret);