summaryrefslogtreecommitdiff
path: root/drivers/md/dm-writecache.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2024-01-09 17:59:15 +0300
committerMike Snitzer <snitzer@kernel.org>2024-01-30 22:06:44 +0300
commit9cf11ce06ea52911245578032761e40a6409cf35 (patch)
treec0eee6f11a1148c4d7a509d88d989ecf55df0c26 /drivers/md/dm-writecache.c
parentbd504bcfec41a503b32054da5472904b404341a4 (diff)
downloadlinux-9cf11ce06ea52911245578032761e40a6409cf35.tar.xz
dm stats: limit the number of entries
The kvmalloc function fails with a warning if the size is larger than INT_MAX. Linus said that there should be limits that prevent this warning from being hit. This commit adds the limits to the dm-stats subsystem in DM core. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-writecache.c')
0 files changed, 0 insertions, 0 deletions