projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
fs
/
xfs
/
kmem.h
diff --git
a/fs/xfs/kmem.h
b/fs/xfs/kmem.h
index f7c8f7a9ea6d5dab0e86ae3b60daf90931ec5f86..292eff1980309a7c31ea1081650cc170a2c72a0d 100644
(file)
--- a/
fs/xfs/kmem.h
+++ b/
fs/xfs/kmem.h
@@
-61,12
+61,7
@@
extern void kmem_free(const void *);
static inline void *kmem_zalloc_large(size_t size)
{
- void *ptr;
-
- ptr = vmalloc(size);
- if (ptr)
- memset(ptr, 0, size);
- return ptr;
+ return vzalloc(size);
}
static inline void kmem_free_large(void *ptr)
{