diff options
author | Naoto Kobayashi <naoto.kobayashi4c@gmail.com> | 2019-12-27 17:05:21 +0900 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-01-17 16:24:53 -0500 |
commit | 8f27fd0ab569f5d09410010b15a3f45399e89fcf (patch) | |
tree | d4df00dbc3c62caee168a77880e0426696f32e81 /fs/ext4/super.c | |
parent | d85926474ffd5395dc39dbbedb969c31c4059a61 (diff) | |
download | linux-8f27fd0ab569f5d09410010b15a3f45399e89fcf.tar.bz2 |
ext4: Delete ext4_kvzvalloc()
Since we're not using ext4_kvzalloc(), delete this function.
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
Link: https://lore.kernel.org/r/20191227080523.31808-2-naoto.kobayashi4c@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index f1a5c14c2a93..b8301b096d29 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -214,16 +214,6 @@ void *ext4_kvmalloc(size_t size, gfp_t flags) return ret; } -void *ext4_kvzalloc(size_t size, gfp_t flags) -{ - void *ret; - - ret = kzalloc(size, flags | __GFP_NOWARN); - if (!ret) - ret = __vmalloc(size, flags | __GFP_ZERO, PAGE_KERNEL); - return ret; -} - ext4_fsblk_t ext4_block_bitmap(struct super_block *sb, struct ext4_group_desc *bg) { |