[JFFS2] Fix more breakage caused by janitorial meddling.

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Jun 9 10:59:01 EDT 2006


Commit:     4ed0156f774cf50252e7f51032d1cc857fe86879
Parent:     3bcc86f507f5a0b6f5bfa312f37ec33711558acb
Author:     David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Fri Jun 9 15:06:42 2006 +0100
Commit:     David Woodhouse <dwmw2 at infradead.org>
CommitDate: Fri Jun 9 15:06:42 2006 +0100

    [JFFS2] Fix more breakage caused by janitorial meddling.
    
    jffs2_zlib_exit() and free_workspaces() shouldn't be marked __exit because
    they get called in the error case from the init functions.
    
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>

 fs/jffs2/compr_zlib.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/jffs2/compr_zlib.c b/fs/jffs2/compr_zlib.c
index d43cbac..5c63e0c 100644
--- a/fs/jffs2/compr_zlib.c
+++ b/fs/jffs2/compr_zlib.c
@@ -60,7 +60,7 @@ static int __init alloc_workspaces(void)
 	return 0;
 }
 
-static void __exit free_workspaces(void)
+static void free_workspaces(void)
 {
 	vfree(def_strm.workspace);
 	vfree(inf_strm.workspace);
@@ -216,7 +216,7 @@ int __init jffs2_zlib_init(void)
     return ret;
 }
 
-void __exit jffs2_zlib_exit(void)
+void jffs2_zlib_exit(void)
 {
     jffs2_unregister_compressor(&jffs2_zlib_comp);
     free_workspaces();



More information about the linux-mtd-cvs mailing list