Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'for-2.6.37/core' of git://git.kernel.dk/linux-2.6-block

* 'for-2.6.37/core' of git://git.kernel.dk/linux-2.6-block:
block: fix use-after-free bug in blk throttle code

+2 -2
-2
block/blk-core.c
··· 462 462 if (q->elevator) 463 463 elevator_exit(q->elevator); 464 464 465 - blk_throtl_exit(q); 466 - 467 465 blk_put_queue(q); 468 466 } 469 467 EXPORT_SYMBOL(blk_cleanup_queue);
+2
block/blk-sysfs.c
··· 471 471 472 472 blk_sync_queue(q); 473 473 474 + blk_throtl_exit(q); 475 + 474 476 if (rl->rq_pool) 475 477 mempool_destroy(rl->rq_pool); 476 478