diff options
author | Oleg Nesterov <oleg@redhat.com> | 2015-07-08 21:42:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-09 15:05:32 -0700 |
commit | 1fbe4b46caca5b01b070af93d513031ffbcc480c (patch) | |
tree | 8311322efb11300bcbbeefee9d3a711508b6c56c /fs/hfsplus | |
parent | fecdf8be2d91e04b0a9a4f79ff06499a36f5d14f (diff) | |
download | op-kernel-dev-1fbe4b46caca5b01b070af93d513031ffbcc480c.zip op-kernel-dev-1fbe4b46caca5b01b070af93d513031ffbcc480c.tar.gz |
net: pktgen: kill the "Wait for kthread_stop" code in pktgen_thread_worker()
pktgen_thread_worker() doesn't need to wait for kthread_stop(), it
can simply exit. Just pktgen_create_thread() and pg_net_exit() should
do get_task_struct()/put_task_struct(). kthread_stop(dead_thread) is
fine.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/hfsplus')
0 files changed, 0 insertions, 0 deletions