diff options
author | Christoph Hellwig <hch@lst.de> | 2021-11-22 14:06:23 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-29 06:38:35 -0700 |
commit | 9f18db572c97bc327b63528d195fdb252f47e9de (patch) | |
tree | 935bd15a1154bdab12058fbe4424b563e08b359e /include/linux/genhd.h | |
parent | 1ebe2e5f9d68e94c524aba876f27b945669a7879 (diff) |
block: don't set GENHD_FL_NO_PART for hidden gendisks
Hidden gendisks can't be opened using blkdev_get_*, so we can't really
reach any of the partition scanning paths or partitioning ioctls except
for the initial partition scan from add_disk.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211122130625.1136848-13-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/genhd.h')
0 files changed, 0 insertions, 0 deletions