fault-injection: use debugfs_remove_recursive
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 26 Jul 2011 23:09:02 +0000 (16:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 23:49:46 +0000 (16:49 -0700)
commit7f5ddcc8d3eaccd5e169fda738530f937509645e
tree14f5581871040f98bbdab864314e1afc00a19a4c
parent8307fc257cf3931d87e172bd8663e80c3d1e56a3
fault-injection: use debugfs_remove_recursive

Use debugfs_remove_recursive() to simplify initialization and
deinitialization of fault injection debugfs files.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/fault-inject.h
lib/fault-inject.c
mm/failslab.c
mm/page_alloc.c