summaryrefslogtreecommitdiff
path: root/drivers/scsi/osd
diff options
context:
space:
mode:
authorJoel D. Diaz <joeldiaz@us.ibm.com>2012-10-10 10:36:11 +0200
committerJames Bottomley <JBottomley@Parallels.com>2012-11-27 08:59:34 +0400
commitafd5e34b2bb34881d3a789e62486814a49b47faa (patch)
treee289c2ef0d8be9b007423e3c7eda3440e788092f /drivers/scsi/osd
parent500c152afbafba2adcb23bb2e37b7138eb003b7f (diff)
[SCSI] sd: Reshuffle init_sd to avoid crash
scsi_register_driver will register a prep_fn() function, which in turn migh need to use the sd_cdp_pool for DIF. Which hasn't been initialised at this point, leading to a crash. So reshuffle the init_sd() and exit_sd() paths to have the driver registered last. Signed-off-by: Joel D. Diaz <joeldiaz@us.ibm.com> Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/osd')
0 files changed, 0 insertions, 0 deletions