summaryrefslogtreecommitdiff
path: root/fs/btrfs/check-integrity.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-08-20 13:20:18 +0200
committerChris Mason <chris.mason@fusionio.com>2013-09-01 08:16:19 -0400
commit8d78eb16638b4e9e57225fa32b0f6595ecbf4424 (patch)
treeca4995df269d3f88beb4111f79ad2f715bb93874 /fs/btrfs/check-integrity.c
parentfce29364e58666ed05dab8a513d2366f31d132bf (diff)
downloadlwn-8d78eb16638b4e9e57225fa32b0f6595ecbf4424.tar.gz
lwn-8d78eb16638b4e9e57225fa32b0f6595ecbf4424.zip
Btrfs: Use %z to format size_t
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/check-integrity.c')
-rw-r--r--fs/btrfs/check-integrity.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c
index 45bc95570c7f..1c47be187240 100644
--- a/fs/btrfs/check-integrity.c
+++ b/fs/btrfs/check-integrity.c
@@ -2959,11 +2959,9 @@ int btrfsic_submit_bh(int rw, struct buffer_head *bh)
BTRFSIC_PRINT_MASK_SUBMIT_BIO_BH)
printk(KERN_INFO
"submit_bh(rw=0x%x, blocknr=%llu (bytenr %llu),"
- " size=%lu, data=%p, bdev=%p)\n",
+ " size=%zu, data=%p, bdev=%p)\n",
rw, (unsigned long long)bh->b_blocknr,
- dev_bytenr,
- (unsigned long)bh->b_size, bh->b_data,
- bh->b_bdev);
+ dev_bytenr, bh->b_size, bh->b_data, bh->b_bdev);
btrfsic_process_written_block(dev_state, dev_bytenr,
&bh->b_data, 1, NULL,
NULL, bh, rw);