diff options
author | ethanwu <[email protected]> | 2024-07-11 14:47:56 +0800 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2024-07-23 10:01:57 +0200 |
commit | 03230edb0bd831662a7c08b6fef66b2a9a817774 (patch) | |
tree | fa5f8014501101a2f1d498113dbd36e73b678f8b /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 578eb54c4a16713d99eed736660e30ae6eb1877f (diff) |
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 <[email protected]>
Reviewed-by: Xiubo Li <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions