Merge remote-tracking branch 'scsi-queue/core-for-3.19' into for-linus
authorJames Bottomley <JBottomley@Parallels.com>
Mon, 8 Dec 2014 15:40:20 +0000 (07:40 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 8 Dec 2014 15:40:20 +0000 (07:40 -0800)
1  2 
block/blk-mq.c
block/scsi_ioctl.c
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
drivers/scsi/ufs/ufshcd.c
drivers/target/target_core_pr.c

diff --cc block/blk-mq.c
Simple merge
Simple merge
Simple merge
@@@ -2860,15 -2838,9 +2856,14 @@@ static void ufshcd_slave_destroy(struc
        struct ufs_hba *hba;
  
        hba = shost_priv(sdev->host);
-       scsi_deactivate_tcq(sdev, hba->nutrs);
        /* Drop the reference as it won't be needed anymore */
 -      if (ufshcd_scsi_to_upiu_lun(sdev->lun) == UFS_UPIU_UFS_DEVICE_WLUN)
 +      if (ufshcd_scsi_to_upiu_lun(sdev->lun) == UFS_UPIU_UFS_DEVICE_WLUN) {
 +              unsigned long flags;
 +
 +              spin_lock_irqsave(hba->host->host_lock, flags);
                hba->sdev_ufs_device = NULL;
 +              spin_unlock_irqrestore(hba->host->host_lock, flags);
 +      }
  }
  
  /**
Simple merge