Revision df912ea4ae7233d1504fbd861ee127bd7ee5781d authored by Jeremy Fitzhardinge on 25 September 2007, 18:50:00 UTC, committed by Linus Torvalds on 26 September 2007, 16:27:14 UTC
execve's error paths don't activate (and therefore pin) the mm before
calling exit_mmap to free it up, so don't try to unpin unless it is
actually pinned.  This prevents a BUG_ON from triggering.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Christian Ostheimer <osth@freesurf.ch>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent e66485d
History

back to top