aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 2a5b19204546..a840523e3b40 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -1182,9 +1182,9 @@ static int __make_request(struct request_queue *q, struct bio *bio)
1182 int el_ret; 1182 int el_ret;
1183 unsigned int bytes = bio->bi_size; 1183 unsigned int bytes = bio->bi_size;
1184 const unsigned short prio = bio_prio(bio); 1184 const unsigned short prio = bio_prio(bio);
1185 const bool sync = (bio->bi_rw & REQ_SYNC); 1185 const bool sync = !!(bio->bi_rw & REQ_SYNC);
1186 const bool unplug = (bio->bi_rw & REQ_UNPLUG); 1186 const bool unplug = !!(bio->bi_rw & REQ_UNPLUG);
1187 const unsigned int ff = bio->bi_rw & REQ_FAILFAST_MASK; 1187 const unsigned long ff = bio->bi_rw & REQ_FAILFAST_MASK;
1188 int where = ELEVATOR_INSERT_SORT; 1188 int where = ELEVATOR_INSERT_SORT;
1189 int rw_flags; 1189 int rw_flags;
1190 1190