summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorMike Christie2016-06-05 21:32:21 +0200
committerJens Axboe2016-06-07 21:41:38 +0200
commit6296b9604fcebc2dd8d6ec396de80b2da84d9700 (patch)
tree52f4fdb2d5024425b722a06ed55e12b82d8f752b /block/blk-core.c
parentblock: move bio io prio to a new field (diff)
downloadkernel-qcow2-linux-6296b9604fcebc2dd8d6ec396de80b2da84d9700.tar.gz
kernel-qcow2-linux-6296b9604fcebc2dd8d6ec396de80b2da84d9700.tar.xz
kernel-qcow2-linux-6296b9604fcebc2dd8d6ec396de80b2da84d9700.zip
block, drivers, fs: shrink bi_rw from long to int
We don't need bi_rw to be so large on 64 bit archs, so reduce it to unsigned int. Signed-off-by: Mike Christie <mchristi@redhat.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index f9f422837cea..c7d66c23a708 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -1853,7 +1853,7 @@ static void handle_bad_sector(struct bio *bio)
char b[BDEVNAME_SIZE];
printk(KERN_INFO "attempt to access beyond end of device\n");
- printk(KERN_INFO "%s: rw=%ld, want=%Lu, limit=%Lu\n",
+ printk(KERN_INFO "%s: rw=%d, want=%Lu, limit=%Lu\n",
bdevname(bio->bi_bdev, b),
bio->bi_rw,
(unsigned long long)bio_end_sector(bio),