]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: No need to send SIGKILL to demux_thread during umount
authorNamjae Jeon <namjae.jeon@samsung.com>
Wed, 20 Aug 2014 10:39:17 +0000 (19:39 +0900)
committerSteve French <smfrench@gmail.com>
Fri, 22 Aug 2014 05:20:58 +0000 (00:20 -0500)
commite56c9a5dc37eb6b0d99c414434c6591d058d2476
treedfe1f1ee9ed9ea8aa02d2ddc176e871f3a42883a
parente787c444639dc17820be0f029bc37d8fecaf736f
cifs: No need to send SIGKILL to demux_thread during umount

There is no need to explicitly send SIGKILL to cifs_demultiplex_thread
as it is calling module_put_and_exit to exit cleanly.

socket sk_rcvtimeo is set to 7 HZ so the thread will wake up in 7 seconds and
clean itself.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
Acked-by: Jeff Layton <jlayton@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/connect.c