old habits never die - I keep cc'ing vger.rutgers.edu....
---------- Forwarded message ----------
Date: Tue, 29 Aug 2000 19:21:26 +0100 (BST)
From: Tigran Aivazian <[EMAIL PROTECTED]>
To: Linus Torvalds <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: [patch-2.4.0-test8-pre1] bugfix for init_proc_fs()
ok, ok, I admit I cut and pasted my fix from pipefs into procfs TOO
LITERALLY :)
Here is the fixed fix:
--- linux/fs/proc/procfs_syms.c Sat May 13 09:32:35 2000
+++ work/fs/proc/procfs_syms.c Tue Aug 29 19:11:51 2000
@@ -28,7 +28,9 @@
if (!err) {
proc_mnt = kern_mount(&proc_fs_type);
err = PTR_ERR(proc_mnt);
- if (!IS_ERR(proc_mnt))
+ if (IS_ERR(proc_mnt))
+ unregister_filesystem(&proc_fs_type);
+ else
err = 0;
}
return err;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/