3.2-stable review patch. If anyone has any objections, please let me know.
------------------ From: David Howells <[email protected]> commit b94cfaf6685d691dc3fab023cf32f65e9b7be09c upstream. 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 <[email protected]> Signed-off-by: David Howells <[email protected]> Acked-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> --- mm/nommu.c | 2 -- 1 file changed, 2 deletions(-) --- a/mm/nommu.c +++ b/mm/nommu.c @@ -779,8 +779,6 @@ static void delete_vma_from_mm(struct vm if (vma->vm_next) vma->vm_next->vm_prev = vma->vm_prev; - - vma->vm_mm = NULL; } /* -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
