NOMMU: Don't need to clear vm_mm when deleting a VMA
authorDavid Howells <dhowells@redhat.com>
Thu, 23 Feb 2012 13:51:00 +0000 (13:51 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Feb 2012 16:59:04 +0000 (08:59 -0800)
commitb94cfaf6685d691dc3fab023cf32f65e9b7be09c
tree89770f0bfa2bc81f928627648afa2a8bd0283afe
parent918e556ec214ed2f584e4cac56d7b29e4bb6bf27
NOMMU: Don't need to clear vm_mm when deleting a VMA

Don't clear vm_mm in a deleted VMA as it's unnecessary and might
conceivably break the filesystem or driver VMA close routine.

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