diff options
author | Jens Axboe <axboe@fb.com> | 2017-01-26 12:22:11 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-01-26 12:22:11 -0700 |
commit | 5a797e00dc93593c9915841779881b15d9856237 (patch) | |
tree | 65a3792c4862108140b9b26271788b3fb54368a6 /fs/exofs/super.c | |
parent | 200e86b3372b51e136a382e007b6b904b1dac7e4 (diff) | |
download | talos-obmc-linux-5a797e00dc93593c9915841779881b15d9856237.tar.gz talos-obmc-linux-5a797e00dc93593c9915841779881b15d9856237.zip |
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>
Diffstat (limited to 'fs/exofs/super.c')
0 files changed, 0 insertions, 0 deletions