aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-08-20 07:20:07 -0400
committerChris Mason <chris.mason@fusionio.com>2013-09-01 08:16:08 -0400
commitc1c9ff7c94e83fae89a742df74db51156869bad5 (patch)
treea931ebe1f410eba2a31ee78a2a24aa439f6e304f /fs/btrfs/ctree.c
parent1cb048f596cc7b4405d695d65ca70098a7ab9065 (diff)
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>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 09b3870c2729..1d94242ec002 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -1383,14 +1383,12 @@ noinline int btrfs_cow_block(struct btrfs_trans_handle *trans,
1383 1383
1384 if (trans->transaction != root->fs_info->running_transaction) 1384 if (trans->transaction != root->fs_info->running_transaction)
1385 WARN(1, KERN_CRIT "trans %llu running %llu\n", 1385 WARN(1, KERN_CRIT "trans %llu running %llu\n",
1386 (unsigned long long)trans->transid, 1386 trans->transid,
1387 (unsigned long long)
1388 root->fs_info->running_transaction->transid); 1387 root->fs_info->running_transaction->transid);
1389 1388
1390 if (trans->transid != root->fs_info->generation) 1389 if (trans->transid != root->fs_info->generation)
1391 WARN(1, KERN_CRIT "trans %llu running %llu\n", 1390 WARN(1, KERN_CRIT "trans %llu running %llu\n",
1392 (unsigned long long)trans->transid, 1391 trans->transid, root->fs_info->generation);
1393 (unsigned long long)root->fs_info->generation);
1394 1392
1395 if (!should_cow_block(trans, root, buf)) { 1393 if (!should_cow_block(trans, root, buf)) {
1396 *cow_ret = buf; 1394 *cow_ret = buf;