brd: add ram disk visibility option
authorDmitry Monakhov <dmonakhov@openvz.org>
Mon, 18 Aug 2014 08:49:08 +0000 (12:49 +0400)
committerJens Axboe <axboe@fb.com>
Fri, 22 Aug 2014 01:42:01 +0000 (20:42 -0500)
commitaeac31819475ad0980cb3a13d5599f5a1127e83d
tree4ba8ca3d8212e6396b1235e8277fe7a7cfb6ca27
parentffb5db73ebe9b5c37fd741e1684833dd674372bd
brd: add ram disk visibility option

Currenly ram disk is not visiable inside /proc/partitions. This was
done for compatibility reasons here: 53978d0a7a27. But some utilities
expect disk presents in /proc/partitions.
Let's add module's option and let's administrator chose visibility behaviour.
By default, old behaviour preserved.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/brd.c