summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2021-12-03 11:00:19 -0600
committerEric W. Biederman <ebiederm@xmission.com>2021-12-13 12:04:45 -0600
commitd48b75518ca3bb0a5326d028754ab7c363dccc32 (patch)
tree3b777a4664516c73ad63860019be648c08d5ac0c /crypto
parentc301abe70853f39db24ca08966ea0e543b4410d5 (diff)
downloadlinux-crypto-d48b75518ca3bb0a5326d028754ab7c363dccc32.tar.gz
linux-crypto-d48b75518ca3bb0a5326d028754ab7c363dccc32.zip
exit: Rename module_put_and_exit to module_put_and_kthread_exit
Update module_put_and_exit to call kthread_exit instead of do_exit. Change the name to reflect this change in functionality. All of the users of module_put_and_exit are causing the current kthread to exit so this change makes it clear what is happening. There is no functional change. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/algboss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/algboss.c b/crypto/algboss.c
index 1814d2c5..eb5fe84e 100644
--- a/crypto/algboss.c
+++ b/crypto/algboss.c
@@ -67,7 +67,7 @@ out:
complete_all(&param->larval->completion);
crypto_alg_put(&param->larval->alg);
kfree(param);
- module_put_and_exit(0);
+ module_put_and_kthread_exit(0);
}
static int cryptomgr_schedule_probe(struct crypto_larval *larval)
@@ -190,7 +190,7 @@ skiptest:
crypto_alg_tested(param->driver, err);
kfree(param);
- module_put_and_exit(0);
+ module_put_and_kthread_exit(0);
}
static int cryptomgr_schedule_test(struct crypto_alg *alg)