Files
linux/block
Dan Carpenter 4e6db0f21c blk-mq: Add a NULL check in blk_mq_free_map_and_requests()
I recently found some code which called blk_mq_free_map_and_requests()
with a NULL set->tags pointer.  I fixed the caller, but it seems like a
good idea to add a NULL check here as well.  Now we can call:

	blk_mq_free_tag_set(set);
	blk_mq_free_tag_set(set);

twice in a row and it's harmless.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-11-29 08:16:08 -07:00
..
2018-11-19 19:03:44 -07:00
2018-11-16 08:34:06 -07:00
2018-11-07 13:42:32 -07:00
2018-11-16 08:34:06 -07:00
2018-11-07 13:44:59 -07:00
2018-11-19 19:03:44 -07:00
2018-11-15 12:13:25 -07:00
2018-11-28 09:08:28 -07:00
2018-11-16 08:34:06 -07:00
2018-11-16 08:34:06 -07:00
2018-11-16 08:34:06 -07:00
2018-11-16 08:34:06 -07:00
2018-11-16 08:34:06 -07:00
2018-11-16 08:34:06 -07:00
2018-10-25 11:17:40 -06:00
2018-05-31 10:50:54 -04:00
2018-11-07 13:42:32 -07:00