1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

cache_manip: reset sigint handler

After processing interrupt, reset the interrupt counter,
so further code is not mislead and continues processing
in 'locked' section as expected.
This commit is contained in:
Zdenek Kabelac 2024-10-29 20:25:35 +01:00
parent 0e64d49642
commit e2a5715a60

View File

@ -468,6 +468,7 @@ int lv_cache_wait_for_clean(struct logical_volume *cache_lv, int *is_clean)
if (cache_seg->cleaner_policy) {
cache_seg->cleaner_policy = 0;
/* Restore normal table */
sigint_clear();
if (!lv_update_and_reload_origin(cache_lv))
stack;
}