aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-08-20 07:20:10 -0400
committerChris Mason <chris.mason@fusionio.com>2013-09-01 08:16:11 -0400
commit118a0a251425b5ed5d5951097f9ef95f30611b03 (patch)
tree9fbb9b3522e4f57ed193cc2fa8cf1c4145b39537 /fs/btrfs/scrub.c
parent27f9f02357f2bff96fc5e8a000c78ec5f96d42af (diff)
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 <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/scrub.c')
-rw-r--r--fs/btrfs/scrub.c6
1 files changed, 3 insertions, 3 deletions
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)
3170 copy_nocow_pages_for_inode, 3170 copy_nocow_pages_for_inode,
3171 nocow_ctx); 3171 nocow_ctx);
3172 if (ret != 0 && ret != -ENOENT) { 3172 if (ret != 0 && ret != -ENOENT) {
3173 pr_warn("iterate_inodes_from_logical() failed: log %llu, phys %llu, len %llu, mir %llu, ret %d\n", 3173 pr_warn("iterate_inodes_from_logical() failed: log %llu, phys %llu, len %llu, mir %u, ret %d\n",
3174 logical, physical_for_dev_replace, len, 3174 logical, physical_for_dev_replace, len, mirror_num,
3175 (unsigned long long)mirror_num, ret); 3175 ret);
3176 not_written = 1; 3176 not_written = 1;
3177 goto out; 3177 goto out;
3178 } 3178 }