Liu Bo 2ab74cd296 blk-throttle: fix potential NULL pointer dereference in throtl_select_dispatch
tg in throtl_select_dispatch is used first and then do check. Since tg
may be NULL, it has potential NULL pointer dereference risk. So fix
it.

Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-05-30 10:54:33 -06:00
..
2018-05-14 13:16:15 -06:00
2018-05-29 08:59:21 -06:00
2018-05-29 08:59:21 -06:00
2018-05-29 08:59:21 -06:00
2018-05-29 08:59:21 -06:00
2018-04-05 14:27:02 -07:00