aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi.c')
-rw-r--r--drivers/scsi/scsi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
index 37843927e47f..eedfd059b82b 100644
--- a/drivers/scsi/scsi.c
+++ b/drivers/scsi/scsi.c
@@ -1118,6 +1118,8 @@ static int __init init_scsi(void)
1118 for_each_possible_cpu(i) 1118 for_each_possible_cpu(i)
1119 INIT_LIST_HEAD(&per_cpu(scsi_done_q, i)); 1119 INIT_LIST_HEAD(&per_cpu(scsi_done_q, i));
1120 1120
1121 scsi_netlink_init();
1122
1121 printk(KERN_NOTICE "SCSI subsystem initialized\n"); 1123 printk(KERN_NOTICE "SCSI subsystem initialized\n");
1122 return 0; 1124 return 0;
1123 1125
@@ -1138,6 +1140,7 @@ cleanup_queue:
1138 1140
1139static void __exit exit_scsi(void) 1141static void __exit exit_scsi(void)
1140{ 1142{
1143 scsi_netlink_exit();
1141 scsi_sysfs_unregister(); 1144 scsi_sysfs_unregister();
1142 scsi_exit_sysctl(); 1145 scsi_exit_sysctl();
1143 scsi_exit_hosts(); 1146 scsi_exit_hosts();