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:
parent
0e64d49642
commit
e2a5715a60
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user