]> git.baikalelectronics.ru Git - kernel.git/commit
mm/vmalloc.c: rename VM_UNLIST to VM_UNINITIALIZED
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Mon, 8 Jul 2013 22:59:58 +0000 (15:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jul 2013 17:33:21 +0000 (10:33 -0700)
commit65ed8eab175fc321c74152f0b3313f1279b1b383
tree46dd1f9a79d4eb3bac8a3a061e167e0fe5919824
parentd9c33120e5dd54281cd8305aff4ad4fcd7d2f1d5
mm/vmalloc.c: rename VM_UNLIST to VM_UNINITIALIZED

VM_UNLIST was used to indicate that the vm_struct is not listed in
vmlist.

But after commit ea2c4d621ea5 ("mm, vmalloc: remove list management of
vmlist after initializing vmalloc"), the meaning of this flag changed.
It now means the vm_struct is not fully initialized.  So renaming it to
VM_UNINITIALIZED seems more reasonable.

Also change clear_vm_unlist to clear_vm_uninitialized_flag.

Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/vmalloc.h
mm/vmalloc.c