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>
This commit is contained in:
parent
27f9f02357
commit
118a0a2514
@ -3170,9 +3170,9 @@ static void copy_nocow_pages_worker(struct btrfs_work *work)
|
|||||||
copy_nocow_pages_for_inode,
|
copy_nocow_pages_for_inode,
|
||||||
nocow_ctx);
|
nocow_ctx);
|
||||||
if (ret != 0 && ret != -ENOENT) {
|
if (ret != 0 && ret != -ENOENT) {
|
||||||
pr_warn("iterate_inodes_from_logical() failed: log %llu, phys %llu, len %llu, mir %llu, ret %d\n",
|
pr_warn("iterate_inodes_from_logical() failed: log %llu, phys %llu, len %llu, mir %u, ret %d\n",
|
||||||
logical, physical_for_dev_replace, len,
|
logical, physical_for_dev_replace, len, mirror_num,
|
||||||
(unsigned long long)mirror_num, ret);
|
ret);
|
||||||
not_written = 1;
|
not_written = 1;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user