]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita73c1abb1e95e4e1a8dfa180521bb5130736c85c
treef0bb6ea83db9b5347d8433e7c894cd906dcf2b3d
parentf817f13058c80957744a5dcd724a53439ae3d6c3
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