commit | 6ce328462c1145a217ba1f27b882743be1407759 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@gmail.com> | Mon Jul 18 17:38:50 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Mon Jul 18 17:38:50 2011 +1000 |
tree | 53eb00f1fbbb002f4f3d74a0e1ed09131377a70d | |
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>