commit | 9f7118b2007d5e7c7a061550d2ca2ecb841537dc | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Tue Feb 06 15:36:55 2018 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Feb 06 18:32:43 2018 -0800 |
tree | 108cc9bf9789d08ff47191a47f18cacaae8ab4c3 | |
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>