]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Btrfs: cast devid to unsigned long long for printk %llu
authorChris Mason <chris.mason@fusionio.com>
Sat, 16 Jun 2012 00:07:17 +0000 (20:07 -0400)
committerChris Mason <chris.mason@fusionio.com>
Sat, 16 Jun 2012 00:07:17 +0000 (20:07 -0400)
Avoid warning in 32 bit machines

Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ioctl.c

index 58adbd0356d6ef93c301ff2780bb79564d150fa8..0e92e5763005214b5d55d091d6fcfb94d73f4875 100644 (file)
@@ -1308,7 +1308,8 @@ static noinline int btrfs_ioctl_resize(struct btrfs_root *root,
        }
        if (device->fs_devices && device->fs_devices->seeding) {
                printk(KERN_INFO "btrfs: resizer unable to apply on "
-                      "seeding device %llu\n", devid);
+                      "seeding device %llu\n",
+                      (unsigned long long)devid);
                ret = -EINVAL;
                goto out_free;
        }