aboutsummaryrefslogtreecommitdiffstats
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2009-10-26 08:59:17 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-10-26 15:27:11 +0100
commit960cc0f4fef607baabc2232fbd7cce5368a9dcfd (patch)
tree5920396618a0c1cf406b999d2cf5b68eafcdd7e8 /mm/backing-dev.c
parentblock: silently error unsupported empty barriers too (diff)
downloadlinux-dev-960cc0f4fef607baabc2232fbd7cce5368a9dcfd.tar.xz
linux-dev-960cc0f4fef607baabc2232fbd7cce5368a9dcfd.zip
block: use after free bug in __blkdev_get
commit 0762b8bde9729f10f8e6249809660ff2ec3ad735 (from 14 months ago) introduced a use-after-free bug which has just recently started manifesting in my md testing. I tried git bisect to find out what caused the bug to start manifesting, and it could have been the recent change to blk_unregister_queue (48c0d4d4c04) but the results were inconclusive. This patch certainly fixes my symptoms and looks correct as the two calls are now in the same order as elsewhere in that function. Signed-off-by: NeilBrown <neilb@suse.de> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions