diff options
author | Alexey Dobriyan <[email protected]> | 2018-02-06 15:36:55 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-02-06 18:32:43 -0800 |
commit | 9f7118b2007d5e7c7a061550d2ca2ecb841537dc (patch) | |
tree | 108cc9bf9789d08ff47191a47f18cacaae8ab4c3 /lib/netdev-notifier-error-inject.c | |
parent | e3912ac37e07a13c70675cd75020694de4841c74 (diff) |
proc: don't use READ_ONCE/WRITE_ONCE for /proc/*/fail-nth
READ_ONCE and WRITE_ONCE are useless when there is only one read/write
is being made.
Link: http://lkml.kernel.org/r/20171120204033.GA9446@avx2
Signed-off-by: Alexey Dobriyan <[email protected]>
Cc: Akinobu Mita <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions