diff options
| author | 2016-06-05 14:32:21 -0500 | |
|---|---|---|
| committer | 2016-06-07 13:41:38 -0600 | |
| commit | 6296b9604fcebc2dd8d6ec396de80b2da84d9700 (patch) | |
| tree | 52f4fdb2d5024425b722a06ed55e12b82d8f752b /block | |
| parent | block: move bio io prio to a new field (diff) | |
| download | linux-dev-6296b9604fcebc2dd8d6ec396de80b2da84d9700.tar.xz linux-dev-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')
| -rw-r--r-- | block/blk-core.c | 2 |
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), |
