tracing/stack-tracer: avoid races accessing file
authorTörök Edwin <edwintorok@gmail.com>
Sun, 23 Nov 2008 11:08:10 +0000 (13:08 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 23 Nov 2008 11:20:26 +0000 (12:20 +0100)
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>

No differences found