aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/brd.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2011-05-26 15:06:50 -0400
committerJens Axboe <jaxboe@fusionio.com>2011-05-26 15:06:50 -0400
commit13868b76ab8135389fe1d8cf1c6a4847c9fef0a7 (patch)
treef0259861568c7b5c6cb30cd426eedb1787945304 /drivers/block/brd.c
parentaf46566885a373b0a526932484cd8fef8de7b598 (diff)
brd: fix comment on initial device creation
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>
Diffstat (limited to 'drivers/block/brd.c')
-rw-r--r--drivers/block/brd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/block/brd.c b/drivers/block/brd.c
index b1efa8f9ff42..d904d0da2928 100644
--- a/drivers/block/brd.c
+++ b/drivers/block/brd.c
@@ -571,10 +571,10 @@ static int __init brd_init(void)
571 * 571 *
572 * (1) if rd_nr is specified, create that many upfront, and this 572 * (1) if rd_nr is specified, create that many upfront, and this
573 * also becomes a hard limit. 573 * also becomes a hard limit.
574 * (2) if rd_nr is not specified, create 1 rd device on module 574 * (2) if rd_nr is not specified, create CONFIG_BLK_DEV_RAM_COUNT
575 * load, user can further extend brd device by create dev node 575 * (default 16) rd device on module load, user can further
576 * themselves and have kernel automatically instantiate actual 576 * extend brd device by create dev node themselves and have
577 * device on-demand. 577 * kernel automatically instantiate actual device on-demand.
578 */ 578 */
579 579
580 part_shift = 0; 580 part_shift = 0;