diff options
author | Denis Cheng <crquan@gmail.com> | 2008-02-01 12:53:46 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-02-07 00:41:22 -0500 |
commit | 30727174b6273c67fa96fb818fe5bdde1ad70e5c (patch) | |
tree | 807a66e114555caf3dc07fc818d2dac2c62dff47 /fs/dlm/lockspace.c | |
parent | d292c0cc489fa642799494bddbd7c94d11f7bbc1 (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/lockspace.c')
-rw-r--r-- | fs/dlm/lockspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/lockspace.c b/fs/dlm/lockspace.c index b180fdc51085..b64e55e0515d 100644 --- a/fs/dlm/lockspace.c +++ b/fs/dlm/lockspace.c | |||
@@ -191,7 +191,7 @@ static int do_uevent(struct dlm_ls *ls, int in) | |||
191 | } | 191 | } |
192 | 192 | ||
193 | 193 | ||
194 | int dlm_lockspace_init(void) | 194 | int __init dlm_lockspace_init(void) |
195 | { | 195 | { |
196 | ls_count = 0; | 196 | ls_count = 0; |
197 | mutex_init(&ls_lock); | 197 | mutex_init(&ls_lock); |