mmap.c: fix comment for __insert_vm_struct()
authorKautuk Consul <consul.kautuk@gmail.com>
Wed, 21 Mar 2012 23:34:16 +0000 (16:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Mar 2012 00:55:00 +0000 (17:55 -0700)
commit88f6b4c32e531dc5b06bd05144f790847a1fdaeb
tree751d07060432fe32200d7849e7901082968b3e51
parentd71b5a73fe9af42752c4329b087f7911b35f8f79
mmap.c: fix comment for __insert_vm_struct()

The comment above __insert_vm_struct seems to suggest that this function
is also going to link the VMA with the anon_vma, but this is not true.
This function only links the VMA to the mm->mm_rb tree and the mm->mmap
linked list.

[akpm@linux-foundation.org: improve comment layout and text]
Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c