Skip to content
Commit 03230edb authored by ethanwu's avatar ethanwu Committed by Ilya Dryomov
Browse files

ceph: fix incorrect kmalloc size of pagevec mempool

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>
parent 578eb54c
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