On 01/29/15 13:18, Ming Lei wrote: > The kobject memory inside blk-mq hctx/ctx shouldn't have been freed > before the kobject is released because driver core can access it freely > before its release. > > We can't do that in all ctx/hctx/mq_kobj's release handler because > it can be run before blk_cleanup_queue(). > > Given mq_kobj shouldn't have been introduced, this patch simply moves > mq's release into blk_release_queue().
Thanks for the quick respin. With these two patches applied my test passes (SRP SCSI host removal). Bart. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/