fault-inject: automatically detect the number base for fail-nth write interface
authorAkinobu Mita <[email protected]>
Fri, 14 Jul 2017 21:49:49 +0000 (14:49 -0700)
committerLinus Torvalds <[email protected]>
Fri, 14 Jul 2017 22:05:13 +0000 (15:05 -0700)
commitecaad81ca0dfaa5f6ab7a5a9bc16a10816e2bd27
tree0dfbabb9ab2d4b6ca3623f4a012d7bda65a54a6b
parent5f92a7b0fcd627fbd06ceb1cee3bbe5d08d13356
fault-inject: automatically detect the number base for fail-nth write interface

Automatically detect the number base to use when writing to fail-nth
file instead of always parsing as a decimal number.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Akinobu Mita <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/proc/base.c