diff options
| author | Dongli Zhang <[email protected]> | 2019-04-04 02:57:44 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-04-04 14:37:34 +0000 |
| commit | bcc816dfe51ab86ca94663c7b225f2d6eb0fddb9 (patch) | |
| tree | 781a542bc2b440a299c9d41a1dd67bd39ce8f734 /drivers/fpga/fpga-bridge.c | |
| parent | paride/pf: Fix potential NULL pointer dereference (diff) | |
| download | kernel-bcc816dfe51ab86ca94663c7b225f2d6eb0fddb9.tar.gz kernel-bcc816dfe51ab86ca94663c7b225f2d6eb0fddb9.zip | |
blk-mq: do not reset plug->rq_count before the list is sorted
We would never be able to sort the list if we first reset plug->rq_count
which is used in conditional check later.
Fixes: ce5b009cff19 ("block: improve logic around when to sort a plug list")
Reviewed-by: Ming Lei <[email protected]>
Signed-off-by: Dongli Zhang <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
