Commit:     ad696989b4a2fce8494964814376aef41da3ff55
Parent:     e1bb7843e4c25e6e331890a2ca512581e844bbaa
Author:     Dave Dillow <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 3 22:35:41 2008 -0500
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Tue Jan 8 12:08:10 2008 -0800

    IB/srp: Release transport before removing host
    The documented call sequence for removing a host is to call the
    transport xxx_remove_host() prior to scsi_remove_host(). The SRP
    transport used to crash when that order was followed, but as it is now
    fixed, use the documented order.
    Signed-off-by: David Dillow <[EMAIL PROTECTED]>
    Acked-by: FUJITA Tomonori <[EMAIL PROTECTED]>
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
 drivers/infiniband/ulp/srp/ib_srp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/ulp/srp/ib_srp.c 
index 77e8b90..bdb6f85 100644
--- a/drivers/infiniband/ulp/srp/ib_srp.c
+++ b/drivers/infiniband/ulp/srp/ib_srp.c
@@ -2053,8 +2053,8 @@ static void srp_remove_one(struct ib_device *device)
                list_for_each_entry_safe(target, tmp_target,
                                         &host->target_list, list) {
-                       scsi_remove_host(target->scsi_host);
+                       scsi_remove_host(target->scsi_host);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to