]> git.baikalelectronics.ru Git - kernel.git/commit
mm/vmstat.c: remove debug fs entries on failure of file creation and made extfrag_deb...
authorSasikantha babu <sasikanth.v19@gmail.com>
Tue, 29 May 2012 22:06:22 +0000 (15:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 May 2012 23:22:19 +0000 (16:22 -0700)
commit69cf1e63e962fc8488dc737c61f8c848b8dad686
treee9fcbae5837689831b2a87a8ac8e9a789fb5e762
parent9215b4b2e3a7ace6f5a7c6bdd5479e51c46f5f31
mm/vmstat.c: remove debug fs entries on failure of file creation and made extfrag_debug_root dentry local

Remove debug fs files and directory on failure.  Since no one is using
"extfrag_debug_root" dentry outside of extfrag_debug_init(), make it
local to the function.

Signed-off-by: Sasikantha babu <sasikanth.v19@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmstat.c