mm: Fix problem of parameter in note
authorJianjun Kong <jianjun@zeuux.org>
Fri, 18 Sep 2009 02:26:26 +0000 (19:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 18 Sep 2009 16:48:52 +0000 (09:48 -0700)
commit27f5de7963f46388932472b660f2f9a86ab58454
tree83bd98f83819ae9012ada5f077e59fcb18319769
parent8f1ecc9fbc5b223e4f5d5bb8bcd6f5672c4bc4b6
mm: Fix problem of parameter in note

'current' is a pointer, so the right form is  'down_write(&current->mm->mmap_sem)'.

Signed-off-by: Jianjun Kong <jianjun@zeuux.org>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c