diff options
author | Joel Becker <joel.becker@oracle.com> | 2009-04-21 15:38:29 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-04-27 08:37:49 -0400 |
commit | 21380931eb4da4e29ac663d0221581282cbba208 (patch) | |
tree | fa8c2155784ccb0ee996e52e75d1e04b79cf2560 /fs/btrfs/ioctl.c | |
parent | e63b6a6c0ffa2ebd8617cc1a10969000296831aa (diff) |
Btrfs: Fix a bunch of printk() warnings.
Just happened to notice a bunch of %llu vs u64 warnings. Here's a patch
to cast them all.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index f4e5d2e5ece6..48762aa1e945 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -483,11 +483,13 @@ static int btrfs_ioctl_resize(struct btrfs_root *root, void __user *arg) | |||
483 | *devstr = '\0'; | 483 | *devstr = '\0'; |
484 | devstr = vol_args->name; | 484 | devstr = vol_args->name; |
485 | devid = simple_strtoull(devstr, &end, 10); | 485 | devid = simple_strtoull(devstr, &end, 10); |
486 | printk(KERN_INFO "resizing devid %llu\n", devid); | 486 | printk(KERN_INFO "resizing devid %llu\n", |
487 | (unsigned long long)devid); | ||
487 | } | 488 | } |
488 | device = btrfs_find_device(root, devid, NULL, NULL); | 489 | device = btrfs_find_device(root, devid, NULL, NULL); |
489 | if (!device) { | 490 | if (!device) { |
490 | printk(KERN_INFO "resizer unable to find device %llu\n", devid); | 491 | printk(KERN_INFO "resizer unable to find device %llu\n", |
492 | (unsigned long long)devid); | ||
491 | ret = -EINVAL; | 493 | ret = -EINVAL; |
492 | goto out_unlock; | 494 | goto out_unlock; |
493 | } | 495 | } |