aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/smart1,2.h
diff options
context:
space:
mode:
authorMike Miller <mike.miller@hp.com>2008-08-04 05:54:52 -0400
committerJens Axboe <jens.axboe@oracle.com>2008-08-06 06:30:03 -0400
commit6ae5ce8e8d4de666f31286808d2285aa6a50fa40 (patch)
tree882f35df706ee92296e1098a61990adc83b64129 /drivers/block/smart1,2.h
parenta72da29b6cbc5cf918567f2a0d76df6871e94b01 (diff)
cciss: remove redundant code
This patch removes redundant code where ever logical volumes are added or removed. It adds 3 new functions that are called instead of having the same code spread throughout the driver. It also removes the cciss_getgeometry function. The patch is fairly complex but we haven't figured out how to make it any simpler and still do everything that needs to be done. Some of the complexity comes from having to special case booting from cciss. Otherwise the gendisk doesn't get added in time and the switchroot will fail. Signed-off-by: Stephen M. Cameron <scameron@beardog.cca.cpqcorp.net> Signed-off-by: Mike Miller <mike.miller@hp.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/smart1,2.h')
0 files changed, 0 insertions, 0 deletions