aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/exofs/ore_raid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exofs/ore_raid.c b/fs/exofs/ore_raid.c
index 7f20f25c232c..84529b8a331b 100644
--- a/fs/exofs/ore_raid.c
+++ b/fs/exofs/ore_raid.c
@@ -116,7 +116,7 @@ static int _sp2d_alloc(unsigned pages_in_unit, unsigned group_width,
116 num_a1pa = min_t(unsigned, PAGE_SIZE / sizeof__a1pa, 116 num_a1pa = min_t(unsigned, PAGE_SIZE / sizeof__a1pa,
117 pages_in_unit - i); 117 pages_in_unit - i);
118 118
119 __a1pa = kzalloc(num_a1pa * sizeof__a1pa, GFP_KERNEL); 119 __a1pa = kcalloc(num_a1pa, sizeof__a1pa, GFP_KERNEL);
120 if (unlikely(!__a1pa)) { 120 if (unlikely(!__a1pa)) {
121 ORE_DBGMSG("!! Failed to _alloc_1p_arrays=%d\n", 121 ORE_DBGMSG("!! Failed to _alloc_1p_arrays=%d\n",
122 num_a1pa); 122 num_a1pa);