]> Pileus Git - ~andy/linux/commitdiff
brd: fix comment on initial device creation
authorNamhyung Kim <namhyung@gmail.com>
Thu, 26 May 2011 19:06:50 +0000 (21:06 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 26 May 2011 19:06:50 +0000 (21:06 +0200)
If 'rd_nr' param was not specified, 16 (can be adjusted via
CONFIG_BLK_DEV_RAM_COUNT) devices would be created by default
but comment said 1. Fix it.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/brd.c

index b1efa8f9ff42126c9e6b8af69136ec54841b4649..d904d0da29280f163932e1c74a8fb3264319cf03 100644 (file)
@@ -571,10 +571,10 @@ static int __init brd_init(void)
         *
         * (1) if rd_nr is specified, create that many upfront, and this
         *     also becomes a hard limit.
-        * (2) if rd_nr is not specified, create 1 rd device on module
-        *     load, user can further extend brd device by create dev node
-        *     themselves and have kernel automatically instantiate actual
-        *     device on-demand.
+        * (2) if rd_nr is not specified, create CONFIG_BLK_DEV_RAM_COUNT
+        *     (default 16) rd device on module load, user can further
+        *     extend brd device by create dev node themselves and have
+        *     kernel automatically instantiate actual device on-demand.
         */
 
        part_shift = 0;