block: return just one value from part_in_flight
The previous patches deleted all the code that needed the second value returned from part_in_flight - now the kernel only uses the first value. Consequently, part_in_flight (and blk_mq_in_flight) may be changed so that it only returns one value. This patch just refactors the code, there's no functional change. Signed-off-by:Mikulas Patocka <mpatocka@redhat.com> Signed-off-by:
Mike Snitzer <snitzer@redhat.com> Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- block/blk-mq.c 5 additions, 7 deletionsblock/blk-mq.c
- block/blk-mq.h 1 addition, 2 deletionsblock/blk-mq.h
- block/genhd.c 12 additions, 22 deletionsblock/genhd.c
- block/partition-generic.c 3 additions, 3 deletionsblock/partition-generic.c
- include/linux/genhd.h 1 addition, 2 deletionsinclude/linux/genhd.h
Please register or sign in to comment