Commit 8247ff0d authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Greg Kroah-Hartman
Browse files

block: move GENHD_FL_NATIVE_CAPACITY to disk->state



[ Upstream commit 86416916 ]

The flag to indicate an unlocked native capacity is dynamic state,
not a driver capability flag, so move it to disk->state.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211122130625.1136848-2-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 5ad42b99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment