diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-01-07 20:07:02 +0100 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-02-03 13:47:18 -0800 |
commit | 0c6c98fb187524935a93fdd4f9a7193e7b110782 (patch) | |
tree | d26e99e927cecafb3f56611fab83f7d0d5c8f39f /fs/ocfs2/uptodate.c | |
parent | 8c5a950c9693aa24828d16dd7bc38bced3f37d48 (diff) | |
download | linux-0c6c98fb187524935a93fdd4f9a7193e7b110782.tar.bz2 |
[PATCH] OCFS2: __init / __exit problem
Functions called by __init funtions mustn't be __exit.
Reported by Jan-Benedict Glaw <jbglaw@lug-owl.de>.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/uptodate.c')
-rw-r--r-- | fs/ocfs2/uptodate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/uptodate.c b/fs/ocfs2/uptodate.c index 3a0458fd3e1b..50c8fb3de0a3 100644 --- a/fs/ocfs2/uptodate.c +++ b/fs/ocfs2/uptodate.c @@ -537,7 +537,7 @@ int __init init_ocfs2_uptodate_cache(void) return 0; } -void __exit exit_ocfs2_uptodate_cache(void) +void exit_ocfs2_uptodate_cache(void) { if (ocfs2_uptodate_cachep) kmem_cache_destroy(ocfs2_uptodate_cachep); |