diff options
| author | Eric W. Biederman <ebiederm@xmission.com> | 2021-12-03 11:00:19 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-21 14:53:29 +0200 |
| commit | c59dc174b2e4bb1731aaf93f8fad23b9feab00f5 (patch) | |
| tree | 1e97f85fa0c4af44e82be63199eaebc22274012a /crypto | |
| parent | 15606c8d5200d83cb50c26495bdb2ef00c0893fc (diff) | |
| download | linux-c59dc174b2e4bb1731aaf93f8fad23b9feab00f5.tar.gz linux-c59dc174b2e4bb1731aaf93f8fad23b9feab00f5.tar.bz2 linux-c59dc174b2e4bb1731aaf93f8fad23b9feab00f5.zip | |
exit: Rename module_put_and_exit to module_put_and_kthread_exit
[ Upstream commit ca3574bd653aba234a4b31955f2778947403be16 ]
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>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto')
| -rw-r--r-- | crypto/algboss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/algboss.c b/crypto/algboss.c index 5ebccbd6b74e..b87f907bb142 100644 --- a/crypto/algboss.c +++ b/crypto/algboss.c @@ -74,7 +74,7 @@ out: complete_all(¶m->larval->completion); crypto_alg_put(¶m->larval->alg); kfree(param); - module_put_and_exit(0); + module_put_and_kthread_exit(0); } static int cryptomgr_schedule_probe(struct crypto_larval *larval) @@ -209,7 +209,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) |
