]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] OCFS2: __init / __exit problem
authorAdrian Bunk <bunk@stusta.de>
Sat, 7 Jan 2006 19:07:02 +0000 (20:07 +0100)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 3 Feb 2006 21:47:18 +0000 (13:47 -0800)
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>
fs/ocfs2/extent_map.c
fs/ocfs2/uptodate.c
fs/ocfs2/uptodate.h

index f2fb40cd296a2890b1af082794c1324ba6969c0d..eb2bd8a4ca82e2afb5bb30b6117f9c671d20ec06 100644 (file)
@@ -988,7 +988,7 @@ int __init init_ocfs2_extent_maps(void)
        return 0;
 }
 
-void __exit exit_ocfs2_extent_maps(void)
+void exit_ocfs2_extent_maps(void)
 {
        kmem_cache_destroy(ocfs2_em_ent_cachep);
 }
index 3a0458fd3e1b72f6b8d44608639fc3c8984d62d0..50c8fb3de0a303aa41c212de933cb4ffe6ae4ddc 100644 (file)
@@ -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);
index e5aacdf4eabf2021d5ded5e3bd0b63dd8cfefa15..01cd32d26b06867c28f67326941ee4c52ab1f087 100644 (file)
@@ -27,7 +27,7 @@
 #define OCFS2_UPTODATE_H
 
 int __init init_ocfs2_uptodate_cache(void);
-void __exit exit_ocfs2_uptodate_cache(void);
+void exit_ocfs2_uptodate_cache(void);
 
 void ocfs2_metadata_cache_init(struct inode *inode);
 void ocfs2_metadata_cache_purge(struct inode *inode);