From: Geert Uytterhoeven Date: Tue, 20 Aug 2013 11:20:10 +0000 (+0200) Subject: Btrfs: Format mirror_num as int X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=118a0a251425b5ed5d5951097f9ef95f30611b03;p=linux-beck.git Btrfs: Format mirror_num as int mirror_num is always "int", hence don't cast it to "unsigned long long" and format it as a 64-bit number. Signed-off-by: Geert Uytterhoeven Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c index b2a5f12dc9e7..ec6a33a20200 100644 --- a/fs/btrfs/scrub.c +++ b/fs/btrfs/scrub.c @@ -3170,9 +3170,9 @@ static void copy_nocow_pages_worker(struct btrfs_work *work) copy_nocow_pages_for_inode, nocow_ctx); if (ret != 0 && ret != -ENOENT) { - pr_warn("iterate_inodes_from_logical() failed: log %llu, phys %llu, len %llu, mir %llu, ret %d\n", - logical, physical_for_dev_replace, len, - (unsigned long long)mirror_num, ret); + pr_warn("iterate_inodes_from_logical() failed: log %llu, phys %llu, len %llu, mir %u, ret %d\n", + logical, physical_for_dev_replace, len, mirror_num, + ret); not_written = 1; goto out; }