patch-2.1.90 linux/fs/super.c

Next file: linux/fs/umsdos/README-WIP.txt
Previous file: linux/fs/proc/root.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.89/linux/fs/super.c linux/fs/super.c
@@ -37,14 +37,14 @@
 #include <asm/uaccess.h>
 #include <asm/bitops.h>
 
-#ifdef CONFIG_KERNELD
-#include <linux/kerneld.h>
-#endif
- 
 #include <linux/nfs_fs.h>
 #include <linux/nfs_fs_sb.h>
 #include <linux/nfs_mount.h>
 
+#ifdef CONFIG_KMOD
+#include <linux/kmod.h>
+#endif
+
 /*
  * We use a semaphore to synchronize all mount/umount
  * activity - imagine the mess if we have a race between
@@ -405,7 +405,7 @@
 		return fs;
 	for (fs = file_systems; fs && strcmp(fs->name, name); fs = fs->next)
 		;
-#ifdef CONFIG_KERNELD
+#ifdef CONFIG_KMOD
 	if (!fs && (request_module(name) == 0)) {
 		for (fs = file_systems; fs && strcmp(fs->name, name); fs = fs->next)
 			;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov