Christoph Hellwig cb6b771b05 block: fix busy device checking in blk_drop_partitions again
The previous fix had an off by one in the bd_openers checking, counting
the callers blkdev_get.

Fixes: d3ef5536274f ("block: fix busy device checking in blk_drop_partitions")
Reported-by: Qian Cai <cai@lca.pw>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Qian Cai <cai@lca.pw>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-04-10 08:34:11 -06:00
..
2020-03-27 12:04:34 -06:00
2020-03-30 11:20:13 -07:00
2020-03-27 12:04:34 -06:00
2019-07-09 10:45:06 -07:00
2020-03-30 11:43:51 -07:00
2019-10-07 21:19:10 -06:00
2020-03-30 11:43:51 -07:00
2020-03-27 12:04:34 -06:00
2020-01-03 09:33:21 +01:00
2020-03-30 11:20:13 -07:00
2019-07-15 09:20:27 -03:00
2020-01-06 20:59:04 -07:00
2020-01-06 20:59:04 -07:00