Commit 6c06a7f6 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Greg Kroah-Hartman
Browse files

block: move GENHD_FL_BLOCK_EVENTS_ON_EXCL_WRITE to disk->event_flags



[ Upstream commit 1545e0b4 ]

GENHD_FL_BLOCK_EVENTS_ON_EXCL_WRITE is all about the event reporting
mechanism, so move it to the event_flags field.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211122130625.1136848-3-hch@lst.de


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Stable-dep-of: 1a721de8 ("block: don't add or resize partition on the disk with GENHD_FL_NO_PART")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8247ff0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment