]> www.infradead.org Git - users/hch/block.git/commit
block: split block_class_lock
authorChristoph Hellwig <hch@lst.de>
Tue, 25 Aug 2020 09:03:12 +0000 (11:03 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Oct 2020 08:39:42 +0000 (09:39 +0100)
commitd2bbdc40eef7af7d44b80b2d56b3962c57bcfe00
tree38f246a94d616a05986544b1706778b5f8ea0c3a
parent140ba160a2d7aa4a0d24b1ae1d63ee0e472a5b4f
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>
block/genhd.c