diff options
author | Tejun Heo <[email protected]> | 2008-02-13 18:20:19 +0900 |
---|---|---|
committer | Jeff Garzik <[email protected]> | 2008-02-15 13:51:12 -0500 |
commit | 7a3a16fe7ddf0570e2fcf286d7e244a5e1e16f6a (patch) | |
tree | e877fc0bd4ed426d3f7d70bed218cf7d4c5555b1 /net/unix/sysctl_net_unix.c | |
parent | 5ab063e397d9f6fcadb37a07465efcc87f9e9345 (diff) |
pata_legacy: don't call ata_host_detach() after initialization failure
ata_host_detach() detaches an attached port and shouldn't be called on
a port which hasn't been attached yet. pata_legacy incorrectly calls
ata_host_detach() on unattached port after initialization failure
causing oops. Fix it.
Signed-off-by: Tejun Heo <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions