mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
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
|
@ -1383,14 +1383,12 @@ noinline int btrfs_cow_block(struct btrfs_trans_handle *trans,
|
|||
|
||||
if (trans->transaction != root->fs_info->running_transaction)
|
||||
WARN(1, KERN_CRIT "trans %llu running %llu\n",
|
||||
(unsigned long long)trans->transid,
|
||||
(unsigned long long)
|
||||
trans->transid,
|
||||
root->fs_info->running_transaction->transid);
|
||||
|
||||
if (trans->transid != root->fs_info->generation)
|
||||
WARN(1, KERN_CRIT "trans %llu running %llu\n",
|
||||
(unsigned long long)trans->transid,
|
||||
(unsigned long long)root->fs_info->generation);
|
||||
trans->transid, root->fs_info->generation);
|
||||
|
||||
if (!should_cow_block(trans, root, buf)) {
|
||||
*cow_ret = buf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue