diff options
| author | Petr Mladek <[email protected]> | 2016-10-11 20:55:33 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-10-11 22:06:33 +0000 |
| commit | 35033fe9cbbf18415dfeb7e27f0d4228dfc7458a (patch) | |
| tree | 8f7f5456f8ec120624d7a8c3a250e5972249d30f /fs/jbd2/commit.c | |
| parent | kthread: add kthread_create_worker*() (diff) | |
| download | kernel-35033fe9cbbf18415dfeb7e27f0d4228dfc7458a.tar.gz kernel-35033fe9cbbf18415dfeb7e27f0d4228dfc7458a.zip | |
kthread: add kthread_destroy_worker()
The current kthread worker users call flush() and stop() explicitly.
This function does the same plus it frees the kthread_worker struct
in one call.
It is supposed to be used together with kthread_create_worker*() that
allocates struct kthread_worker.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Petr Mladek <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Cc: Josh Triplett <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
