[PATCH] fault-injection capabilities infrastructure
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 8 Dec 2006 10:39:43 +0000 (02:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:29:02 +0000 (08:29 -0800)
commit6ff1cb355e628f8fc55fa2d01e269e5e1bbc2fe9
tree393d94b6d7585e4c804d6415afaa11e1d6ec350d
parentde1ba09b214056365d9082982905b255caafb7a2
[PATCH] fault-injection capabilities infrastructure

This patch provides base functions implement to fault-injection
capabilities.

- The function should_fail() is taken from failmalloc-1.0
  (http://www.nongnu.org/failmalloc/)

[akpm@osdl.org: cleanups, comments, add __init]
Cc: <okuji@enbug.org>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Don Mullis <dwm@meer.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/fault-inject.h [new file with mode: 0644]
lib/Kconfig.debug
lib/Makefile
lib/fault-inject.c [new file with mode: 0644]