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)
commit8ddcd653257c18a669fcb75ee42c37054908e0d6
tree1717b2161a7b718d00e11394c8163dcaf1622a71
parent517bf3c306bad4fe0da631f90ae2ec40924dee2b
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