mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-09-25 16:14:22 +00:00
Date: Mon, 28 Sep 2009 10:41:51 +0000 (+0100) Subject: ARM: Ensure do_cache_op takes mmap_sem X-Git-Tag: v2.6.32-rc3~11^2~11 X-Git-Url: http://android.git.geo.kernel.org/?p=kernel%2Fcommon.git;a=commitdiff_plain;h=aa45ee8fc0ee87c1711b5fe8eb3556d06530c39e 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>
18 KiB
18 KiB