diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2007-09-25 11:50:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-26 09:27:14 -0700 |
commit | df912ea4ae7233d1504fbd861ee127bd7ee5781d (patch) | |
tree | 69f434d181767ed9661bf96669abbdcfcdfcdf95 /kernel/params.c | |
parent | e66485d747505e9d960b864fc6c37f8b2afafaf0 (diff) | |
download | linux-stable-df912ea4ae7233d1504fbd861ee127bd7ee5781d.tar.gz linux-stable-df912ea4ae7233d1504fbd861ee127bd7ee5781d.tar.bz2 linux-stable-df912ea4ae7233d1504fbd861ee127bd7ee5781d.zip |
xen: execve's error paths don't pin the mm before unpinning
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>
Diffstat (limited to 'kernel/params.c')
0 files changed, 0 insertions, 0 deletions