patch-2.1.36 linux/fs/ext2/super.c

Next file: linux/fs/filesystems.c
Previous file: linux/fs/exec.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/fs/ext2/super.c linux/fs/ext2/super.c
@@ -33,6 +33,7 @@
 #include <linux/string.h>
 #include <linux/locks.h>
 #include <linux/blkdev.h>
+#include <linux/init.h>
 
 static char error_buf[1024];
 
@@ -727,7 +728,7 @@
         ext2_read_super, "ext2", 1, NULL
 };
 
-int init_ext2_fs(void)
+__initfunc(int init_ext2_fs(void))
 {
         return register_filesystem(&ext2_fs_type);
 }

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