diff options
author | Keith Busch <keith.busch@intel.com> | 2016-02-18 22:56:35 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-03-03 22:46:04 +0100 |
commit | e9137d4b93078b6a9965acfb18a2a2ad91cf8405 (patch) | |
tree | 0633fc205e9f520315c268a3ca165866cc9421fc /block/blk-merge.c | |
parent | blk-mq: mark request queue as mq asap (diff) | |
download | linux-e9137d4b93078b6a9965acfb18a2a2ad91cf8405.tar.xz linux-e9137d4b93078b6a9965acfb18a2a2ad91cf8405.zip |
blk-mq: Fix NULL pointer updating nr_requests
A h/w context's tags are freed if it was not assigned a CPU. Check if
the context has tags before updating the depth.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-merge.c')
0 files changed, 0 insertions, 0 deletions