Fix clear_refs_write() use of struct mm_walk
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 5 Jul 2008 19:29:05 +0000 (12:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 5 Jul 2008 20:07:56 +0000 (13:07 -0700)
Don't use a static entry, so as to prevent races during concurrent use
of this function.

Reported-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found