projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libata: test major version in ata_id_is_sata()
[powerpc.git]
/
fs
/
dlm
/
memory.c
diff --git
a/fs/dlm/memory.c
b/fs/dlm/memory.c
index
5352b03
..
f858fef
100644
(file)
--- a/
fs/dlm/memory.c
+++ b/
fs/dlm/memory.c
@@
-76,9
+76,7
@@
struct dlm_lkb *allocate_lkb(struct dlm_ls *ls)
{
struct dlm_lkb *lkb;
- lkb = kmem_cache_alloc(lkb_cache, GFP_KERNEL);
- if (lkb)
- memset(lkb, 0, sizeof(*lkb));
+ lkb = kmem_cache_zalloc(lkb_cache, GFP_KERNEL);
return lkb;
}