ext4: introduce ext4_kvmalloc(), ext4_kzalloc(), and ext4_kvfree()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 1 Aug 2011 12:45:02 +0000 (08:45 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 1 Aug 2011 12:45:02 +0000 (08:45 -0400)
commit9933fc0ac1ac14b795819cd63d05ea92112f690a
treebff42e3494fd5401e6b171ddae8f52ecd1defd91
parent33853a0dde359ded0534204eb6857ad5166d515b
ext4: introduce ext4_kvmalloc(), ext4_kzalloc(), and ext4_kvfree()

Introduce new helper functions which try kmalloc, and then fall back
to vmalloc if necessary, and use them for allocating and deallocating
s_flex_groups.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/super.c