The following patch fixes a potential bug in the blk_tag_queue structure. "busy" is used to keep track of outstanding tags, is declared as int, and updated inside queue lock. For host-wide shared tag map, this corrupts the value of busy, which hits BUG_ON during __blk_free_tags. Recommend converting busy to atomic_t and using atomic_macros to access it. --- Abhijeet Joglekar (1): blk-tag: Use atomic_t type for bqt->busy. block/blk-tag.c | 8 ++++---- include/linux/blkdev.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) -- Signature -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html