mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-01 03:54:02 +00:00
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: ext4: use kzalloc in ext4_kzalloc()
This commit is contained in:
commit
14595f708e
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ void *ext4_kvzalloc(size_t size, gfp_t flags)
|
||||||
{
|
{
|
||||||
void *ret;
|
void *ret;
|
||||||
|
|
||||||
ret = kmalloc(size, flags);
|
ret = kzalloc(size, flags);
|
||||||
if (!ret)
|
if (!ret)
|
||||||
ret = __vmalloc(size, flags | __GFP_ZERO, PAGE_KERNEL);
|
ret = __vmalloc(size, flags | __GFP_ZERO, PAGE_KERNEL);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Add table
Reference in a new issue