diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2018-02-06 15:36:55 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-06 18:32:43 -0800 |
commit | 9f7118b2007d5e7c7a061550d2ca2ecb841537dc (patch) | |
tree | 108cc9bf9789d08ff47191a47f18cacaae8ab4c3 /net/rds/sysctl.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 <adobriyan@gmail.com>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/rds/sysctl.c')
0 files changed, 0 insertions, 0 deletions