diff options
author | Joel D. Diaz <joeldiaz@us.ibm.com> | 2012-10-10 12:36:11 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-11-27 08:59:34 +0400 |
commit | afd5e34b2bb34881d3a789e62486814a49b47faa (patch) | |
tree | e289c2ef0d8be9b007423e3c7eda3440e788092f /drivers/scsi/osd | |
parent | 500c152afbafba2adcb23bb2e37b7138eb003b7f (diff) | |
download | linux-afd5e34b2bb34881d3a789e62486814a49b47faa.tar.xz |
[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