tracing/stack-tracer: avoid races accessing file

Impact: fix race

vma->vm_file reference is only stable while holding the mmap_sem,
so move usage of it to within the critical section.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Török Edwin 2008-11-23 13:08:10 +02:00 committed by Ingo Molnar
commit e38da59269