summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2026-10-12 17:56:06 +0200
committerMikulas Patocka <mpatocka@redhat.com>2026-10-13 15:35:52 +0200
commit17f7f7ef5dc2f4607ba8cdf486cb25cc564cd6f7 (patch)
tree331ede13039114755b15cbc38032344144378721 /tools/lib/python/kdoc/python_version.py
parent005d2ec5723cd4ac740de678274623f1fadd6a6e (diff)
dm-bufio: clean-up cache size reading
In the original dm-bufio, setting dm_bufio_cache_size to 0 meant to set the default value. However, when the code was refactored in the commit 450e8dee51aa, the meaning of 0 is inconsistent, at some places, we just read the variable dm_bufio_cache_size without testing it to zero. This commit cleans up the zero handling, all reads of dm_bufio_cache_size go through the function dm_budio_get_cache_size() and this function tests the variable for zero and sets the default cache size in this case. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Assisted-by: Claude:claude-opus-5
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions