diff options
author | Mike Christie <mchristi@redhat.com> | 2016-06-05 21:32:21 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-06-07 21:41:38 +0200 |
commit | 6296b9604fcebc2dd8d6ec396de80b2da84d9700 (patch) | |
tree | 52f4fdb2d5024425b722a06ed55e12b82d8f752b /include | |
parent | block: move bio io prio to a new field (diff) | |
download | linux-6296b9604fcebc2dd8d6ec396de80b2da84d9700.tar.xz 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 'include')
-rw-r--r-- | include/linux/blk_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h index 27384134f8a0..5efb6f12d2f5 100644 --- a/include/linux/blk_types.h +++ b/include/linux/blk_types.h @@ -48,7 +48,7 @@ struct bio { struct block_device *bi_bdev; unsigned int bi_flags; /* status, command, etc */ int bi_error; - unsigned long bi_rw; /* READ/WRITE */ + unsigned int bi_rw; /* READ/WRITE */ unsigned short bi_ioprio; struct bvec_iter bi_iter; |