diff options
author | Keith Busch <keith.busch@intel.com> | 2016-02-19 00:56:35 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-03-04 00:46:04 +0300 |
commit | e9137d4b93078b6a9965acfb18a2a2ad91cf8405 (patch) | |
tree | 0633fc205e9f520315c268a3ca165866cc9421fc /fs/block_dev.c | |
parent | 66841672161efb9e3be4a1dbd9755020bb1d86b7 (diff) | |
download | linux-e9137d4b93078b6a9965acfb18a2a2ad91cf8405.tar.xz |
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 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions