aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2010-10-19 03:13:04 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-10-19 03:13:04 -0400
commitfa251f89903d73989e2f63e13d0eaed1e07ce0da (patch)
tree3f7fe779941e3b6d67754dd7c44a32f48ea47c74 /block/blk-core.c
parentdd3932eddf428571762596e17b65f5dc92ca361b (diff)
parentcd07202cc8262e1669edff0d97715f3dd9260917 (diff)
Merge branch 'v2.6.36-rc8' into for-2.6.37/barrier
Conflicts: block/blk-core.c drivers/block/loop.c mm/swapfile.c Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
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 2a5b1920454..a840523e3b4 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