lkml.org 
[lkml]   [2000]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [patch-2.4.0-test8-pre1] bugfix for init_proc_fs() (fwd)
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 <tigran@veritas.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.rutgers.edu
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.025 / U:2.684 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site