summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/keys/key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/key.c b/security/keys/key.c
index 991a15f..1f3ed44 100644
--- a/security/keys/key.c
+++ b/security/keys/key.c
@@ -602,7 +602,7 @@ void key_put(struct key *key)
key_check(key);
if (atomic_dec_and_test(&key->usage))
- schedule_work(&key_gc_unused_work);
+ queue_work(system_nrt_wq, &key_gc_unused_work);
}
}
EXPORT_SYMBOL(key_put);
OpenPOWER on IntegriCloud