]> git.baikalelectronics.ru Git - kernel.git/commit
block: introduce GENHD_FL_HIDDEN
authorChristoph Hellwig <hch@lst.de>
Thu, 2 Nov 2017 18:29:53 +0000 (21:29 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Nov 2017 16:31:48 +0000 (10:31 -0600)
commit4b1e1b04e61852f1b5bf9a17867e6e2169cb746a
tree1717b2161a7b718d00e11394c8163dcaf1622a71
parentf7ab9e139a150a94973f0cae530f3a743dc85d67
block: introduce GENHD_FL_HIDDEN

With this flag a driver can create a gendisk that can be used for I/O
submission inside the kernel, but which is not registered as user
facing block device.  This will be useful for the NVMe multipath
implementation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
include/linux/genhd.h