Btrfs: Remove superfluous casts from u64 to unsigned long long
u64 is "unsigned long long" on all architectures now, so there's no need to cast it when formatting it using the "ll" length modifier. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
This commit is contained in:
parent
1cb048f596
commit
c1c9ff7c94
22 changed files with 221 additions and 422 deletions
|
|
@ -1421,14 +1421,13 @@ static noinline int btrfs_ioctl_resize(struct file *file,
|
|||
ret = -EINVAL;
|
||||
goto out_free;
|
||||
}
|
||||
printk(KERN_INFO "btrfs: resizing devid %llu\n",
|
||||
(unsigned long long)devid);
|
||||
printk(KERN_INFO "btrfs: resizing devid %llu\n", devid);
|
||||
}
|
||||
|
||||
device = btrfs_find_device(root->fs_info, devid, NULL, NULL);
|
||||
if (!device) {
|
||||
printk(KERN_INFO "btrfs: resizer unable to find device %llu\n",
|
||||
(unsigned long long)devid);
|
||||
devid);
|
||||
ret = -ENODEV;
|
||||
goto out_free;
|
||||
}
|
||||
|
|
@ -1436,7 +1435,7 @@ static noinline int btrfs_ioctl_resize(struct file *file,
|
|||
if (!device->writeable) {
|
||||
printk(KERN_INFO "btrfs: resizer unable to apply on "
|
||||
"readonly device %llu\n",
|
||||
(unsigned long long)devid);
|
||||
devid);
|
||||
ret = -EPERM;
|
||||
goto out_free;
|
||||
}
|
||||
|
|
@ -1488,8 +1487,7 @@ static noinline int btrfs_ioctl_resize(struct file *file,
|
|||
new_size *= root->sectorsize;
|
||||
|
||||
printk_in_rcu(KERN_INFO "btrfs: new size for %s is %llu\n",
|
||||
rcu_str_deref(device->name),
|
||||
(unsigned long long)new_size);
|
||||
rcu_str_deref(device->name), new_size);
|
||||
|
||||
if (new_size > old_size) {
|
||||
trans = btrfs_start_transaction(root, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue