null_blk: suppress invalid partition info
authorJens Axboe <axboe@fb.com>
Fri, 16 Jan 2015 23:02:24 +0000 (16:02 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 16 Jan 2015 23:02:24 +0000 (16:02 -0700)
commit227290b4690510148d1f40f277c6c3a181fcb440
tree9536d15801966f62cc459daa93a6704cde02b314
parentc8fa31730fc72a83bad762112a872675b3e76886
null_blk: suppress invalid partition info

null_blk is partitionable, but it doesn't store any of the info. When
it is loaded, you would normally see:

[1226739.343608]  nullb0: unknown partition table
[1226739.343746]  nullb1: unknown partition table

which can confuse some people. Add the appropriate gendisk flag
to suppress this info.

Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/null_blk.c