Commit 19516634 authored by Luca Tettamanti's avatar Luca Tettamanti Committed by Linus Torvalds

[PATCH] C99 designated initializer for fs/affs

parent 96123596
...@@ -130,17 +130,17 @@ static void destroy_inodecache(void) ...@@ -130,17 +130,17 @@ static void destroy_inodecache(void)
} }
static struct super_operations affs_sops = { static struct super_operations affs_sops = {
alloc_inode: affs_alloc_inode, .alloc_inode = affs_alloc_inode,
destroy_inode: affs_destroy_inode, .destroy_inode = affs_destroy_inode,
read_inode: affs_read_inode, .read_inode = affs_read_inode,
write_inode: affs_write_inode, .write_inode = affs_write_inode,
put_inode: affs_put_inode, .put_inode = affs_put_inode,
delete_inode: affs_delete_inode, .delete_inode = affs_delete_inode,
clear_inode: affs_clear_inode, .clear_inode = affs_clear_inode,
put_super: affs_put_super, .put_super = affs_put_super,
write_super: affs_write_super, .write_super = affs_write_super,
statfs: affs_statfs, .statfs = affs_statfs,
remount_fs: affs_remount, .remount_fs = affs_remount,
}; };
static int static int
...@@ -550,11 +550,11 @@ static struct super_block *affs_get_sb(struct file_system_type *fs_type, ...@@ -550,11 +550,11 @@ static struct super_block *affs_get_sb(struct file_system_type *fs_type,
} }
static struct file_system_type affs_fs_type = { static struct file_system_type affs_fs_type = {
owner: THIS_MODULE, .owner = THIS_MODULE,
name: "affs", .name = "affs",
get_sb: affs_get_sb, .get_sb = affs_get_sb,
kill_sb: kill_block_super, .kill_sb = kill_block_super,
fs_flags: FS_REQUIRES_DEV, .fs_flags = FS_REQUIRES_DEV,
}; };
static int __init init_affs_fs(void) static int __init init_affs_fs(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment