]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/9p/v9fs.c
[PATCH] knfsd: add some missing newlines in printks
[linux-2.6-omap-h63xx.git] / fs / 9p / v9fs.c
index d37416eb57919d8caa20e21b81b37b8ce4701fa9..0f628041e3f7660c75fb846985b4124ba571cffe 100644 (file)
@@ -23,7 +23,6 @@
  *
  */
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/errno.h>
 #include <linux/fs.h>
@@ -461,8 +460,10 @@ static int __init init_v9fs(void)
 
        ret = v9fs_mux_global_init();
        if (!ret)
-               ret = register_filesystem(&v9fs_fs_type);
-
+               return ret;
+       ret = register_filesystem(&v9fs_fs_type);
+       if (!ret)
+               v9fs_mux_global_exit();
        return ret;
 }