fail_page_alloc: simplify debugfs initialization
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 26 Jul 2011 23:09:03 +0000 (16:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 23:49:46 +0000 (16:49 -0700)
commitb2588c4b4c3c075e9b45d61065d86c60de2b6441
tree66942e8a252101aaa7e1f0a2ee2c3d8288dda659
parent810f09b87b75d7cc3906ffffe4311003f37caa2a
fail_page_alloc: simplify debugfs initialization

Now cleanup_fault_attr_dentries() recursively removes a directory, So we
can simplify the error handling in the initialization code and no need
to hold dentry structs for each debugfs file.

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>
mm/page_alloc.c