aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/asm
diff options
context:
space:
mode:
authorBrian Behlendorf <behlendorf1@llnl.gov>2013-05-24 15:55:28 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-07 12:46:36 -0700
commit77809457d14ff89ac8e67f3cdf45a43b2b620f82 (patch)
treee43f78f3f2909de905c31d1c2abb6adeed232a18 /arch/um/include/asm
parent329d6f2ca0653e8a078637ed42ba259f5414e872 (diff)
downloadkernel_samsung_smdk4412-77809457d14ff89ac8e67f3cdf45a43b2b620f82.tar.gz
kernel_samsung_smdk4412-77809457d14ff89ac8e67f3cdf45a43b2b620f82.tar.bz2
kernel_samsung_smdk4412-77809457d14ff89ac8e67f3cdf45a43b2b620f82.zip
drivers/block/brd.c: fix brd_lookup_page() race
commit dfd20b2b174d3a9b258ea3b7a35ead33576587b1 upstream. The index on the page must be set before it is inserted in the radix tree. Otherwise there is a small race which can occur during lookup where the page can be found with the incorrect index. This will trigger the BUG_ON() in brd_lookup_page(). Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Reported-by: Chris Wedgwood <cw@f00f.org> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/um/include/asm')
0 files changed, 0 insertions, 0 deletions