kern_mount currently forgets to increase the module count of the file system,
leading to negative module count after umount.

-Andi

--- linux-work/fs/super.c-MOUNT Tue Jul 25 02:04:13 2000
+++ linux-work/fs/super.c       Sun Jul 30 16:15:08 2000
@@ -942,6 +942,7 @@
                kill_super(sb, 0);
                return ERR_PTR(-ENOMEM);
        }
+       get_filesystem(type); 
        type->kern_mnt = mnt;
        return mnt;
 }

Reply via email to