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:Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20211122130625.1136848-2-hch@lst.de Signed-off-by:
Jens 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:
Sasha Levin <sashal@kernel.org>
Loading