diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2011-07-27 03:09:02 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-27 03:49:46 +0400 |
commit | 7f5ddcc8d3eaccd5e169fda738530f937509645e (patch) | |
tree | 14f5581871040f98bbdab864314e1afc00a19a4c /mm/failslab.c | |
parent | 8307fc257cf3931d87e172bd8663e80c3d1e56a3 (diff) | |
download | linux-7f5ddcc8d3eaccd5e169fda738530f937509645e.tar.xz |
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>
Diffstat (limited to 'mm/failslab.c')
-rw-r--r-- | mm/failslab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/failslab.c b/mm/failslab.c index c5f88f240ddc..7df9f7f0abf1 100644 --- a/mm/failslab.c +++ b/mm/failslab.c @@ -45,7 +45,7 @@ static int __init failslab_debugfs_init(void) err = init_fault_attr_dentries(&failslab.attr, "failslab"); if (err) return err; - dir = failslab.attr.dentries.dir; + dir = failslab.attr.dir; failslab.ignore_gfp_wait_file = debugfs_create_bool("ignore-gfp-wait", mode, dir, |