patch-2.3.51 linux/fs/autofs4/init.c

Next file: linux/fs/autofs4/inode.c
Previous file: linux/fs/autofs/root.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.50/linux/fs/autofs4/init.c linux/fs/autofs4/init.c
@@ -14,12 +14,7 @@
 #include <linux/init.h>
 #include "autofs_i.h"
 
-static struct file_system_type autofs_fs_type = {
-	"autofs",
-	0,
-	autofs4_read_super,
-	NULL
-};
+static DECLARE_FSTYPE(autofs_fs_type, "autofs", autofs4_read_super, 0);
 
 static int __init init_autofs4_fs(void)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)