summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/idmap.h
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2017-07-14 23:49:52 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2017-07-15 00:05:13 +0200
commit9049f2f6e7bdfb5de0c63c2635bf3cdb70c4efb5 (patch)
tree718c3ee2245ca615b30d4bef469f3ab2195530e9 /fs/nfsd/idmap.h
parentfault-inject: automatically detect the number base for fail-nth write interface (diff)
downloadlinux-9049f2f6e7bdfb5de0c63c2635bf3cdb70c4efb5.tar.xz
linux-9049f2f6e7bdfb5de0c63c2635bf3cdb70c4efb5.zip
fault-inject: parse as natural 1-based value for fail-nth write interface
The value written to fail-nth file is parsed as 0-based. Parsing as one-based is more natural to understand and it enables to cancel the previous setup by simply writing '0'. This change also converts task->fail_nth from signed to unsigned int. Link: http://lkml.kernel.org/r/1491490561-10485-3-git-send-email-akinobu.mita@gmail.com Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfsd/idmap.h')
0 files changed, 0 insertions, 0 deletions