From f81fc24c48ef120ff55d6d981ee9fc4c059422f9 Mon Sep 17 00:00:00 2001 From: Ondrej Dubaj Date: Tue, 26 Feb 2019 08:36:14 +0100 Subject: [PATCH] avoiding triggering automounts, bug #1670060 --- sadc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sadc.c b/sadc.c index 4d62e37..a72c769 100644 --- a/sadc.c +++ b/sadc.c @@ -318,6 +318,9 @@ void sa_sys_init(void) for (i = 0; i < NR_ACT; i++) { + if ( ! (act[i]->options & AO_COLLECTED ) ) + continue; + if (HAS_COUNT_FUNCTION(act[i]->options)) { idx = act[i]->f_count_index; -- 2.40.0