]> git.baikalelectronics.ru Git - kernel.git/commit
exit: Rename complete_and_exit to kthread_complete_and_exit
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 22 Nov 2021 17:15:19 +0000 (11:15 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 13 Dec 2021 18:04:45 +0000 (12:04 -0600)
commite7c0996ca4b585056bb26a695e851ddeee46b6eb
tree8bfc1ce7711fc5071664c636ec93cd4143ab24bf
parenta9cd3f7db5eb5ba730e6eb81776f72672844cd9e
exit: Rename complete_and_exit to kthread_complete_and_exit

Update complete_and_exit to call kthread_exit instead of do_exit.

Change the name to reflect this change in functionality.  All of the
users of complete_and_exit are causing the current kthread to exit so
this change makes it clear what is happening.

Move the implementation of kthread_complete_and_exit from
kernel/exit.c to to kernel/kthread.c.  As this function is kthread
specific it makes most sense to live with the kthread functions.

There are no functional change.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
15 files changed:
drivers/net/wireless/rsi/rsi_91x_coex.c
drivers/net/wireless/rsi/rsi_91x_main.c
drivers/net/wireless/rsi/rsi_91x_sdio_ops.c
drivers/net/wireless/rsi/rsi_91x_usb_ops.c
drivers/pnp/pnpbios/core.c
drivers/staging/rts5208/rtsx.c
drivers/usb/atm/usbatm.c
drivers/usb/gadget/function/f_mass_storage.c
fs/jffs2/background.c
include/linux/kernel.h
include/linux/kthread.h
kernel/exit.c
kernel/kthread.c
lib/kunit/try-catch.c
tools/objtool/check.c