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

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

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

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