From: Jose R. Santos Date: Tue, 16 Oct 2007 22:38:25 +0000 (-0400) Subject: JBD2: debug code cleanup. X-Git-Tag: v2.6.24-rc1~465 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f38c74f5a01c7bccf58f9d7ee47ea24fb45752f;p=pandora-kernel.git JBD2: debug code cleanup. Mostly stolen from akpm's JBD cleanup patch. - use `#ifdef foo' instead of `#if defined(foo)' - Make journal_enable_debug __read_mostly just for the heck of it - Make jbd_debugfs_dir and jbd_debug static - debugfs_remove(NULL) is legal: remove unneeded tests - remove unnecessary empty loops Signed-off-by: Jose R. Santos Cc: Signed-off-by: Andrew Morton --- Reading git-diff-tree failed