[PATCH] mm: dup_mmap use oldmm more
authorHugh Dickins <hugh@veritas.com>
Sun, 30 Oct 2005 01:16:06 +0000 (18:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Oct 2005 04:40:38 +0000 (21:40 -0700)
commitfd3e42fcc888a773572282575d2fdbf5cfd6216e
treeffe2c223b9200185eb67881582f784d534958883
parentae859762332f19bfc06f4c4a1b1fefb41e9e1084
[PATCH] mm: dup_mmap use oldmm more

Use the parent's oldmm throughout dup_mmap, instead of perversely going back
to current->mm.  (Can you hear the sigh of relief from those mpnts?  Usually I
squash them, but not today.)

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/fork.c