[PATCH] prio_tree: kill vma_prio_tree_init()
authorRajesh Venkatasubramanian <vrajesh@umich.edu>
Mon, 23 Aug 2004 05:56:55 +0000 (22:56 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 05:56:55 +0000 (22:56 -0700)
commite66c6753333b9c2b1cf5daf0b73814b5fdb09c41
tree9cbeae75fc154c6aedd7a291565f8541e44ae509
parent2caed7c7a77f4529255cc218faaf70390f3d0001
[PATCH] prio_tree: kill vma_prio_tree_init()

vma_prio_tree_insert() relies on the fact, that vma was
vma_prio_tree_init()'ed.

Content of vma->shared should be considered undefined, until this vma is
inserted into i_mmap/i_mmap_nonlinear.  It's better to do proper
initialization in vma_prio_tree_add/insert.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Rajesh Venkatasubramanian <vrajesh@umich.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mm.h
kernel/fork.c
mm/fremap.c
mm/mmap.c
mm/prio_tree.c