]> git.baikalelectronics.ru Git - kernel.git/commit
block: split block_class_lock
authorChristoph Hellwig <hch@lst.de>
Thu, 29 Oct 2020 14:58:26 +0000 (15:58 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:14:30 +0000 (08:14 -0700)
commit148a620e28a7b9ccea726559e17e43dd8f84a269
tree836a84f67dda10ff2977c0ee6544d22536b76bb3
parent758bc53929b799266f71732717d5d8e0b61d1bbc
block: split block_class_lock

Split the block_class_lock mutex into one each to protect bdev_map
and major_names.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c