]> www.infradead.org Git - users/dwmw2/linux.git/commit
ceph: fix incorrect kmalloc size of pagevec mempool
authorethanwu <ethanwu@synology.com>
Thu, 11 Jul 2024 06:47:56 +0000 (14:47 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 23 Jul 2024 08:01:57 +0000 (10:01 +0200)
commit03230edb0bd831662a7c08b6fef66b2a9a817774
treefa5f8014501101a2f1d498113dbd36e73b678f8b
parent578eb54c4a16713d99eed736660e30ae6eb1877f
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: a0102bda5bc0 ("ceph: move sb->wb_pagevec_pool to be a global mempool")
Signed-off-by: ethanwu <ethanwu@synology.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/super.c