diff options
author | 2016-06-20 16:55:51 -0400 | |
---|---|---|
committer | 2016-06-20 14:28:39 -0700 | |
commit | 281a8273f6d8664b14c9164ff6d659049c43b3f0 (patch) | |
tree | 9d333085c4044bd27f14c86dbf538dff125ddccc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging/lustre/osc: glimpse lock should match only with granted locks (diff) | |
download | linux-dev-281a8273f6d8664b14c9164ff6d659049c43b3f0.tar.xz linux-dev-281a8273f6d8664b14c9164ff6d659049c43b3f0.zip |
staging/lustre/libcfs: Do not call kthread_run in wrong state
kthread_run might sleep during an allocation, and so
it's considered unsafe to call with a state that's not
RUNNABLE.
Move the state setting to after kthread_run call.
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions