[JFFS2] Remove stray __exit from jffs2_compressors_exit()

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Jun 2 19:59:02 EDT 2006


Commit:     3bcc86f507f5a0b6f5bfa312f37ec33711558acb
Parent:     e9482b4374e2596e6f3f1ab30c4ea469f4ac6311
Author:     David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Sat Jun 3 00:25:50 2006 +0100
Commit:     David Woodhouse <dwmw2 at infradead.org>
CommitDate: Sat Jun 3 00:25:50 2006 +0100

    [JFFS2] Remove stray __exit from jffs2_compressors_exit()
    
    It's used from the initfunc in case of failure too. We could actually do
    with an '__initexit' for this kind of thing -- when built in to the
    kernel, it could do with being dropped with the init text. We _could_
    actually just use __init for it, but that would break if/when we start
    dropping init text from modules. So let's just leave it as it was for now,
    and mutter a little more about random 'janitorial' fixes from people who
    aren't paying attention to what they're doing.
    
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>

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

diff --git a/fs/jffs2/compr.c b/fs/jffs2/compr.c
index 5f45e01..7001ba2 100644
--- a/fs/jffs2/compr.c
+++ b/fs/jffs2/compr.c
@@ -440,7 +440,7 @@ #endif
         return 0;
 }
 
-int __exit jffs2_compressors_exit(void)
+int jffs2_compressors_exit(void)
 {
 /* Unregistering compressors */
 #ifdef CONFIG_JFFS2_RUBIN



More information about the linux-mtd-cvs mailing list