diff options
author | Jose R. Santos <jrs@us.ibm.com> | 2007-10-16 18:38:25 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2007-10-17 18:49:59 -0400 |
commit | 6f38c74f5a01c7bccf58f9d7ee47ea24fb45752f (patch) | |
tree | 6072107f72ef7849cc1abcdb69d04e6d56161ba2 /fs/attr.c | |
parent | a7fa2baf8e2a6c0eb0a21f75e919c226179e8ff4 (diff) | |
download | blackbird-op-linux-6f38c74f5a01c7bccf58f9d7ee47ea24fb45752f.tar.gz blackbird-op-linux-6f38c74f5a01c7bccf58f9d7ee47ea24fb45752f.zip |
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 <jrs@us.ibm.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions