History

Merge tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi

Pull SCSI fixes from James Bottomley: "This is a set of six patches consisting of: - two MAINTAINER updates - two scsi-mq fixs for the old parallel interface (not every request is tagged and we need to set the right flags to populate the SPI tag message) - a fix for a memory leak in scatterlist traversal caused by a preallocation update in 3.17 - an ipv6 fix for cxgbi" [ The scatterlist fix also came in separately through the block layer tree ] * tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: MAINTAINERS: ufs - remove self MAINTAINERS: change hpsa and cciss maintainer libcxgbi : support ipv6 address host_param scsi: set REQ_QUEUE for the blk-mq case Revert "block: all blk-mq requests are tagged" lib/scatterlist: fix memory leak with scsi-mq

Linus Torvalds committed 12 years ago

Commit ad2be372 parents 1226716 ff150a76 files · +53 −19Browse files

Showing the changes to include/linux (1 of 6 files). Show all

Unified · Split

include/linux/blkdev.h+1−2
@@ -1136,8 +1136,7 @@ static inline bool blk_needs_flush_plug(struct task_struct *tsk) · 1135 unmodified lines
11361136 /*
11371137 * tag stuff
11381138 */
1139−#define blk_rq_tagged(rq) \
1140− ((rq)->mq_ctx || ((rq)->cmd_flags & REQ_QUEUED))
1139+#define blk_rq_tagged(rq) ((rq)->cmd_flags & REQ_QUEUED)
11411140 extern int blk_queue_start_tag(struct request_queue *, struct request *);
11421141 extern struct request *blk_queue_find_tag(struct request_queue *, int);
11431142 extern void blk_queue_end_tag(struct request_queue *, struct request *);