]> www.infradead.org Git - users/hch/block.git/commit
block: don't hold open_mutex over disk_flush_events
authorChristoph Hellwig <hch@lst.de>
Tue, 18 Jan 2022 08:54:51 +0000 (09:54 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 19 Jan 2022 15:19:56 +0000 (16:19 +0100)
commit20131704b044b687ee49e1581ccf06437d84c604
treee09f8d6d7f37e06cef56fc3f2d6236a9b0fb17b4
parent9cbaaa9a2298e5bc367379c47a561570c47a01eb
block: don't hold open_mutex over disk_flush_events

The only interesting state here is ev->clearing, and that is protected by
ev->lock already.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/bdev.c
block/disk-events.c