diff options
author | Namhyung Kim <namhyung@gmail.com> | 2011-07-18 17:38:50 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-07-18 17:38:50 +1000 |
commit | 6ce328462c1145a217ba1f27b882743be1407759 (patch) | |
tree | 53eb00f1fbbb002f4f3d74a0e1ed09131377a70d /virt | |
parent | c65060ad4274f70048d62e0a86332cd3fd23f28d (diff) |
md/raid5: use kmem_cache_zalloc()
Replace kmem_cache_alloc + memset(,0,) to kmem_cache_zalloc.
I think it's not harmful since @conf->slab_cache already knows
actual size of struct stripe_head.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions