aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2009-09-28 11:41:51 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-09-28 18:06:21 +0100
commitaa45ee8fc0ee87c1711b5fe8eb3556d06530c39e (patch)
tree4fd5a65dd1dda67ba8e2c4857bf1c7f5c19edaf8 /drivers/mmc
parentARM: Fix __cpuexit section mismatch warnings (diff)
downloadlinux-dev-aa45ee8fc0ee87c1711b5fe8eb3556d06530c39e.tar.xz
linux-dev-aa45ee8fc0ee87c1711b5fe8eb3556d06530c39e.zip
ARM: Ensure do_cache_op takes mmap_sem
do_cache_op() uses find_vma() to validate its arguments without holding any locking. This means that the VMA could vanish beneath us. Fix this by taking a read lock on mmap_sem. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions