]> git.baikalelectronics.ru Git - kernel.git/commit
cciss: Dynamically allocate struct device for each logical drive as needed.
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Thu, 17 Sep 2009 18:47:14 +0000 (13:47 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 1 Oct 2009 19:15:41 +0000 (21:15 +0200)
commit873cee9b6472042e683fbd8fafe7f559460d0949
tree8e6020a20ccb2c74b1547a6563e989be0c0eb133
parent1c5e17ccf359225f18ec1e5b05d9959e2708b7e4
cciss: Dynamically allocate struct device for each logical drive as needed.

Dynamically allocate struct device for each logical drive as needed
instead of allocating the maximum we would ever need at driver init time.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/cciss.c
drivers/block/cciss.h