]> www.infradead.org Git - users/hch/block.git/commit
block: don't use disk->open_mutex for holder registration locking
authorChristoph Hellwig <hch@lst.de>
Wed, 19 Jan 2022 06:07:32 +0000 (07:07 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 19 Jan 2022 15:19:56 +0000 (16:19 +0100)
commit017c27fc83b1eaa7570802b06864131033cd5e9d
treeec3a1f34a030aa6b1038e075db42b8f4234a95a8
parent20131704b044b687ee49e1581ccf06437d84c604
block: don't use disk->open_mutex for holder registration locking

Use a separate lock for the older registration, which has nothing to
do with the open locking.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/genhd.c
block/holder.c
include/linux/genhd.h