summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@fusionio.com>2012-06-16 02:07:17 +0200
committerChris Mason <chris.mason@fusionio.com>2012-06-16 02:07:17 +0200
commita8c4a33b98b097e69cd1a10672c43d17ad0ffb25 (patch)
tree84dc64100b591a26b0be7d8a088d2a6889f2a776 /fs/btrfs/ioctl.c
parentBtrfs: init old_generation in get_old_root (diff)
downloadlinux-a8c4a33b98b097e69cd1a10672c43d17ad0ffb25.tar.xz
linux-a8c4a33b98b097e69cd1a10672c43d17ad0ffb25.zip
Btrfs: cast devid to unsigned long long for printk %llu
Avoid warning in 32 bit machines Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to '')
-rw-r--r--fs/btrfs/ioctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 58adbd0356d6..0e92e5763005 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -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;
}