aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/debug_fs.c
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2008-02-01 12:53:46 -0500
committerDavid Teigland <teigland@redhat.com>2008-02-07 00:41:22 -0500
commit30727174b6273c67fa96fb818fe5bdde1ad70e5c (patch)
tree807a66e114555caf3dc07fc818d2dac2c62dff47 /fs/dlm/debug_fs.c
parentd292c0cc489fa642799494bddbd7c94d11f7bbc1 (diff)
dlm: add __init and __exit marks to init and exit functions
it moves 365 bytes from .text to .init.text, and 30 bytes from .text to .exit.text, saves memory. Signed-off-by: Denis Cheng <crquan@gmail.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/debug_fs.c')
-rw-r--r--fs/dlm/debug_fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/debug_fs.c b/fs/dlm/debug_fs.c
index 52b11960a175..8fc24f4507a3 100644
--- a/fs/dlm/debug_fs.c
+++ b/fs/dlm/debug_fs.c
@@ -541,7 +541,7 @@ void dlm_delete_debug_file(struct dlm_ls *ls)
541 debugfs_remove(ls->ls_debug_locks_dentry); 541 debugfs_remove(ls->ls_debug_locks_dentry);
542} 542}
543 543
544int dlm_register_debugfs(void) 544int __init dlm_register_debugfs(void)
545{ 545{
546 mutex_init(&debug_buf_lock); 546 mutex_init(&debug_buf_lock);
547 dlm_root = debugfs_create_dir("dlm", NULL); 547 dlm_root = debugfs_create_dir("dlm", NULL);