projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branches 'tiny/bloat-o-meter-no-SyS', 'tiny/more-procless', 'tiny/no-advice...
[firefly-linux-kernel-4.4.55.git]
/
fs
/
exofs
/
ore_raid.c
diff --git
a/fs/exofs/ore_raid.c
b/fs/exofs/ore_raid.c
index 7f20f25c232c453d631b817ad382d27fea83fba3..84529b8a331b1402e3a4662a1f4ce90c4dc185b6 100644
(file)
--- 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,
num_a1pa = min_t(unsigned, PAGE_SIZE / sizeof__a1pa,
pages_in_unit - i);
num_a1pa = min_t(unsigned, PAGE_SIZE / sizeof__a1pa,
pages_in_unit - i);
- __a1pa = k
zalloc(num_a1pa *
sizeof__a1pa, GFP_KERNEL);
+ __a1pa = k
calloc(num_a1pa,
sizeof__a1pa, GFP_KERNEL);
if (unlikely(!__a1pa)) {
ORE_DBGMSG("!! Failed to _alloc_1p_arrays=%d\n",
num_a1pa);
if (unlikely(!__a1pa)) {
ORE_DBGMSG("!! Failed to _alloc_1p_arrays=%d\n",
num_a1pa);