diff options
Diffstat (limited to 'security/keys/gc.c')
-rw-r--r-- | security/keys/gc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/keys/gc.c b/security/keys/gc.c index b23db3fbb32d..d67e88b791f2 100644 --- a/security/keys/gc.c +++ b/security/keys/gc.c | |||
@@ -51,7 +51,7 @@ void key_schedule_gc(time_t gc_at) | |||
51 | kenter("%ld", gc_at - now); | 51 | kenter("%ld", gc_at - now); |
52 | 52 | ||
53 | if (gc_at <= now) { | 53 | if (gc_at <= now) { |
54 | schedule_work(&key_gc_work); | 54 | queue_work(system_nrt_wq, &key_gc_work); |
55 | } else if (gc_at < key_gc_next_run) { | 55 | } else if (gc_at < key_gc_next_run) { |
56 | expires = jiffies + (gc_at - now) * HZ; | 56 | expires = jiffies + (gc_at - now) * HZ; |
57 | mod_timer(&key_gc_timer, expires); | 57 | mod_timer(&key_gc_timer, expires); |
@@ -65,7 +65,7 @@ static void key_gc_timer_func(unsigned long data) | |||
65 | { | 65 | { |
66 | kenter(""); | 66 | kenter(""); |
67 | key_gc_next_run = LONG_MAX; | 67 | key_gc_next_run = LONG_MAX; |
68 | schedule_work(&key_gc_work); | 68 | queue_work(system_nrt_wq, &key_gc_work); |
69 | } | 69 | } |
70 | 70 | ||
71 | /* | 71 | /* |
@@ -206,7 +206,7 @@ gc_released_our_lock: | |||
206 | key_gc_new_timer = new_timer; | 206 | key_gc_new_timer = new_timer; |
207 | key_gc_again = true; | 207 | key_gc_again = true; |
208 | clear_bit(0, &key_gc_executing); | 208 | clear_bit(0, &key_gc_executing); |
209 | schedule_work(&key_gc_work); | 209 | queue_work(system_nrt_wq, &key_gc_work); |
210 | kleave(" [continue]"); | 210 | kleave(" [continue]"); |
211 | return; | 211 | return; |
212 | 212 | ||