mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-28 01:58:08 -04:00
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>
This commit is contained in:
committed by
Jens Axboe
parent
43b62ce3ff
commit
6296b9604f
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user