patch-2.4.0-test9 linux/fs/proc/procfs_syms.c
Next file: linux/fs/ramfs/inode.c
Previous file: linux/fs/proc/proc_misc.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon Sep 11 08:41:07 2000
- Orig file:
v2.4.0-test8/linux/fs/proc/procfs_syms.c
- Orig date:
Mon May 8 11:17:47 2000
diff -u --recursive --new-file v2.4.0-test8/linux/fs/proc/procfs_syms.c linux/fs/proc/procfs_syms.c
@@ -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;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)