task_work: cleanup notification modes
[linux-2.6-microblaze.git] / security / keys / keyctl.c
index e26bbcc..61a614c 100644 (file)
@@ -1693,7 +1693,7 @@ long keyctl_session_to_parent(void)
 
        /* the replacement session keyring is applied just prior to userspace
         * restarting */
-       ret = task_work_add(parent, newwork, true);
+       ret = task_work_add(parent, newwork, TWA_RESUME);
        if (!ret)
                newwork = NULL;
 unlock: