Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[cascardo/linux.git] / include / scsi / scsi_tcq.h
index 9708b28..b27977e 100644 (file)
@@ -66,7 +66,8 @@ static inline int scsi_init_shared_tag_map(struct Scsi_Host *shost, int depth)
         * devices on the shared host (for libata)
         */
        if (!shost->bqt) {
-               shost->bqt = blk_init_tags(depth);
+               shost->bqt = blk_init_tags(depth,
+                       shost->hostt->tag_alloc_policy);
                if (!shost->bqt)
                        return -ENOMEM;
        }