patch-2.3.51 linux/fs/vfat/vfatfs_syms.c

Next file: linux/include/asm-i386/ide.h
Previous file: linux/fs/vfat/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.50/linux/fs/vfat/vfatfs_syms.c linux/fs/vfat/vfatfs_syms.c
@@ -12,12 +12,7 @@
 #include <linux/mm.h>
 #include <linux/msdos_fs.h>
 
-struct file_system_type vfat_fs_type = {
-	"vfat",
-	FS_REQUIRES_DEV,
-	vfat_read_super,
-	NULL
-};
+DECLARE_FSTYPE_DEV(vfat_fs_type, "vfat", vfat_read_super);
 
 EXPORT_SYMBOL(vfat_create);
 EXPORT_SYMBOL(vfat_unlink);

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