Commit 1aac244b authored by Anton Blanchard's avatar Anton Blanchard Committed by James Bottomley

[PATCH] minor fix to sym2 hotplug conversion

One problem we found when we hit a bad adapter, we need to use scsi_host_put.
parent 5a659463
......@@ -2029,7 +2029,7 @@ sym_attach (struct scsi_host_template *tpnt, int unit, sym_device *dev)
printf_info("%s: giving up ...\n", sym_name(np));
if (np)
sym_free_resources(np);
scsi_unregister(instance);
scsi_host_put(instance);
return -1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment