OSDN Git Service

mmc: don't set GENHD_FL_SUPPRESS_PARTITION_INFO
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Nov 2021 13:06:20 +0000 (14:06 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:38:34 +0000 (06:38 -0700)
commit79b0f79a835c6f1103c06e449cd88fb13e67f405
treeb2f2b9e38ccbf7412b90125acb083e633d914c27
parent94b49c3ddb2127f84a133d70cef49054e1ebaaa4
mmc: don't set GENHD_FL_SUPPRESS_PARTITION_INFO

This manually reverts 07b652cdbec3 ("mmc: card: Don't show eMMC RPMB and
BOOT areas in /proc/partitions").  Based on the commit description that
change was purely cosmetic.  mmc is the last driver that sets this
flag and thus prevents it from being removed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20211122130625.1136848-10-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/mmc/core/block.c