aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorFabian Frederick <[email protected]>2015-02-20 19:12:52 +0100
committerDavid S. Miller <[email protected]>2015-02-22 15:24:10 -0500
commit45cee4f594bcb3083c2d8475462af2f2ddf29aff (patch)
tree18c6d635c77105420915b2877c2f84ea281250ed /lib/memory-notifier-error-inject.c
parent3f34b24a732bab9635c4b32823268c37c01b40f0 (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions