diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2016-09-28 07:30:51 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2016-09-28 07:30:51 +0200 |
commit | 539294b76af8922297702a7ebb8cafe68f7e5376 (patch) | |
tree | eac3ae2ecac2b358b6151ad6a62261490ec5a211 /include/scsi | |
parent | Merge remote-tracking branch 'mkp-scsi/4.8/scsi-fixes' into fixes (diff) | |
parent | scsi: Avoid that toggling use_blk_mq triggers a memory leak (diff) | |
download | linux-539294b76af8922297702a7ebb8cafe68f7e5376.tar.xz linux-539294b76af8922297702a7ebb8cafe68f7e5376.zip |
Merge remote-tracking branch 'mkp-scsi/4.8/scsi-fixes' into fixes
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_host.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index 0dee7afa93d6..7e4cd53139ed 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h @@ -771,12 +771,9 @@ static inline int scsi_host_in_recovery(struct Scsi_Host *shost) shost->tmf_in_progress; } -extern bool scsi_use_blk_mq; - static inline bool shost_use_blk_mq(struct Scsi_Host *shost) { - return scsi_use_blk_mq; - + return shost->use_blk_mq; } extern int scsi_queue_work(struct Scsi_Host *, struct work_struct *); |