patch-2.1.18 linux/fs/ufs/ufs_super.c

Next file: linux/fs/umsdos/inode.c
Previous file: linux/fs/sysv/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.17/linux/fs/ufs/ufs_super.c linux/fs/ufs/ufs_super.c
@@ -57,13 +57,11 @@
 }
 
 #ifdef MODULE
+EXPORT_NO_SYMBOLS;
+
 int init_module(void)
 {
-	int status;
-
-	if ((status = init_ufs_fs()) == 0)
-		register_symtab(0);
-	return status;
+	return init_ufs_fs();
 }
 
 void cleanup_module(void)
@@ -138,7 +136,7 @@
 		goto ufs_read_super_lose;
 	}
 	/* XXX - redo this so we can free it later... */
-	usb = (struct ufs_superblock *)__get_free_page(GFP_KERNEL); 
+	usb = (struct ufs_superblock *)__get_free_page(GFP_KERNEL);
 	if (usb == NULL) {
 		brelse(bh1);
 		brelse(bh2);
@@ -325,4 +323,3 @@
 	copy_to_user(buf, sp, bufsiz);
 	return;
 }
-

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