]> git.baikalelectronics.ru Git - kernel.git/commit
NOMMU: Lock i_mmap_mutex for access to the VMA prio list
authorDavid Howells <dhowells@redhat.com>
Thu, 23 Feb 2012 13:50:35 +0000 (13:50 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Feb 2012 16:59:04 +0000 (08:59 -0800)
commitd27bfed36813531dbc9d7a189a64e8393d78cf66
treecf2ba7c88f4b349d1120517f09ec4588f12eb285
parent54dc2029010a408a65738eea340cfc0d11899867
NOMMU: Lock i_mmap_mutex for access to the VMA prio list

Lock i_mmap_mutex for access to the VMA prio list to prevent concurrent
access.  Currently, certain parts of the mmap handling are protected by
the region mutex, but not all.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/nommu.c