commit | 5a797e00dc93593c9915841779881b15d9856237 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Thu Jan 26 12:22:11 2017 -0700 |
committer | Jens Axboe <axboe@fb.com> | Thu Jan 26 12:22:11 2017 -0700 |
tree | 65a3792c4862108140b9b26271788b3fb54368a6 | |
parent | 200e86b3372b51e136a382e007b6b904b1dac7e4 [diff] |
blk-mq: don't lose flags passed in to blk_mq_alloc_request() If we come in from blk_mq_alloc_requst() with NOWAIT set in flags, we must ensure that we don't later overwrite that in blk_mq_sched_get_request(). Initialize alloc_data->flags before passing it in. Reported-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Jens Axboe <axboe@fb.com>