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

Next file: linux/fs/ufs/ufs_symlink.c
Previous file: linux/fs/ufs/ufs_namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.71/linux/fs/ufs/ufs_super.c linux/fs/ufs/ufs_super.c
@@ -21,12 +21,14 @@
  * Francois-Rene Rideau <rideau@ens.fr>
  */
 
+#include <linux/config.h>
 #include <linux/module.h>
 
 #include <linux/kernel.h>
 #include <linux/fs.h>
 #include <linux/ufs_fs.h>
 #include <linux/locks.h>
+#include <linux/init.h>
 #include <asm/uaccess.h>
 
 #include "ufs_swab.h"
@@ -54,8 +56,7 @@
 	NULL
 };
 
-int
-init_ufs_fs(void)
+__initfunc(int init_ufs_fs(void))
 {
 	return(register_filesystem(&ufs_fs_type));
 }

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