diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-02-20 21:12:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-22 23:24:10 +0300 |
commit | 45cee4f594bcb3083c2d8475462af2f2ddf29aff (patch) | |
tree | 18c6d635c77105420915b2877c2f84ea281250ed /lib/proportions.c | |
parent | 3f34b24a732bab9635c4b32823268c37c01b40f0 (diff) | |
download | linux-45cee4f594bcb3083c2d8475462af2f2ddf29aff.tar.xz |
mISDN: replace current->state by set_current_state()
Use helper function to access current->state.
Direct assignments are prone to races and therefore buggy.
Thanks to Peter Zijlstra for the exact definition of the problem.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/proportions.c')
0 files changed, 0 insertions, 0 deletions