Skip to content
Commit 7744dc07 authored by ethanwu's avatar ethanwu Committed by Greg Kroah-Hartman
Browse files

ceph: fix incorrect kmalloc size of pagevec mempool



[ Upstream commit 03230edb0bd831662a7c08b6fef66b2a9a817774 ]

The kmalloc size of pagevec mempool is incorrectly calculated.
It misses the size of page pointer and only accounts the number for the array.

Fixes: a0102bda ("ceph: move sb->wb_pagevec_pool to be a global mempool")
Signed-off-by: default avatarethanwu <ethanwu@synology.com>
Reviewed-by: default avatarXiubo Li <xiubli@redhat.com>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 77f1bf86
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment