]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit18be8481e67085c142e390d8a809e8efb4d5a86c
tree66942e8a252101aaa7e1f0a2ee2c3d8288dda659
parentec19be4ee58a7dcbad55b9b6da7fe7a68b748bf6
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