From: Namhyung Kim Date: Thu, 26 May 2011 19:06:50 +0000 (+0200) Subject: brd: fix comment on initial device creation X-Git-Tag: v3.0-rc1~42^2~5 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=13868b76ab8135389fe1d8cf1c6a4847c9fef0a7;p=~emulex%2Finfiniband.git 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 Signed-off-by: Jens Axboe --- diff --git a/drivers/block/brd.c b/drivers/block/brd.c index b1efa8f9ff4..d904d0da292 100644 --- a/drivers/block/brd.c +++ b/drivers/block/brd.c @@ -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;