diff options
author | наб <[email protected]> | 2022-01-19 21:10:49 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-01-25 12:52:12 -0800 |
commit | a9856574cffd8fac7702424cc6134c5e0b5325b5 (patch) | |
tree | f9e1a3e0a80ff19a12711ef99f363dda60950c34 /module | |
parent | a9e2788ffe8f45c190ad442dda2e83e719cfb14f (diff) |
Linux 5.17 compat: detect complete_and_exit() rename
Linux 5.17 sees a rename from complete_and_exit()
to kthread complete_and_exit()
Upstream commit cead18552660702a4a46f58e65188fe5f36e9dfe
("exit: Rename complete_and_exit to kthread_complete_and_exit")
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #12989
Diffstat (limited to 'module')
-rw-r--r-- | module/os/linux/spl/spl-thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/os/linux/spl/spl-thread.c b/module/os/linux/spl/spl-thread.c index 834c52711..0ba4c18c1 100644 --- a/module/os/linux/spl/spl-thread.c +++ b/module/os/linux/spl/spl-thread.c @@ -66,7 +66,7 @@ void __thread_exit(void) { tsd_exit(); - complete_and_exit(NULL, 0); + SPL_KTHREAD_COMPLETE_AND_EXIT(NULL, 0); /* Unreachable */ } EXPORT_SYMBOL(__thread_exit); |