diff options
author | Pavel V. Panteleev <pp_84@mail.ru> | 2010-06-17 10:07:25 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-06-17 10:07:25 +0200 |
commit | a92d3ff9e5dbd958d8008a3e7a573e988e370ca3 (patch) | |
tree | 1fe26978d5ef6bbee063c3fb7b4e6b78280ab551 /mm/slub.c | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff) | |
download | op-kernel-dev-a92d3ff9e5dbd958d8008a3e7a573e988e370ca3.zip op-kernel-dev-a92d3ff9e5dbd958d8008a3e7a573e988e370ca3.tar.gz |
percpu: fix trivial bugs in pcpu_build_alloc_info()
Fix the following two trivial bugs in pcpu_build_alloc_info()
* we should memset group_cnt to 0 by size of group_cnt, not size of
group_map (both are of the same size, so the bug isn't dangerous)
* we can delete useless variable group_cnt_max.
Signed-off-by: Pavel V. Panteleev <pp_84@mail.ru>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions