vfat文件系统注册
module_init(init_vfat_fs)
static int __init init_vfat_fs(void)
{
return register_filesystem(&vfat_fs_type);
}
static struct file_system_type vfat_fs_type = {
.owner = THIS_MODULE,
.name = "vfat",
.mount = vfat_mount,
.kill_sb = kill_block_super,
.fs_flags = FS_REQUIRES_DEV,
};