OSDN Git Service

block: remove GENHD_FL_SUPPRESS_PARTITION_INFO
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Nov 2021 13:06:21 +0000 (14:06 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:38:35 +0000 (06:38 -0700)
commit3b5149ac50970669ee0ddb9629ec77ffd5c0622d
treef0bb6ea83db9b5347d8433e7c894cd906dcf2b3d
parent79b0f79a835c6f1103c06e449cd88fb13e67f405
block: remove GENHD_FL_SUPPRESS_PARTITION_INFO

This flag is not set directly anywhere and only inherited from
GENHD_FL_HIDDEN.  Just check for GENHD_FL_HIDDEN instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211122130625.1136848-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
include/linux/genhd.h