]> git.baikalelectronics.ru Git - kernel.git/commit
null_blk: don't suppress partitioning information
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Nov 2021 13:06:19 +0000 (14:06 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:38:31 +0000 (06:38 -0700)
commitedbf8f4d8e925b91b4efc04bd79b223eef0abb9b
tree79dc6693a0dbf7759d374574bab973b4919a1249
parentdf35e530fea6dbbab0770e0f5f6ce4cd2f97defc
null_blk: don't suppress partitioning information

This manually reverts commit 27290b469051 ("null_blk: suppress invalid
partition info").  The message in that commit log can't appearch as
the flag is never checked during probing, and there is no good reason
to treat null_blk special in /proc/partitions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211122130625.1136848-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk/main.c