]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/scsi/scsi_transport_iscsi.c
Merge branch 'for-3.6/core' of git://git.kernel.dk/linux-block
[~shefty/rdma-dev.git] / drivers / scsi / scsi_transport_iscsi.c
index 09809d06eccb3eba2b63b91767d410454d1854fa..fa1dfaa83e32986061586c4fcb2f6f8e9e23eaf9 100644 (file)
@@ -575,7 +575,7 @@ static int iscsi_remove_host(struct transport_container *tc,
        struct iscsi_cls_host *ihost = shost->shost_data;
 
        if (ihost->bsg_q) {
-               bsg_remove_queue(ihost->bsg_q);
+               bsg_unregister_queue(ihost->bsg_q);
                blk_cleanup_queue(ihost->bsg_q);
        }
        return 0;