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)
}
static struct super_operations affs_sops = {
alloc_inode: affs_alloc_inode,
destroy_inode: affs_destroy_inode,
read_inode: affs_read_inode,
write_inode: affs_write_inode,
put_inode: affs_put_inode,
delete_inode: affs_delete_inode,
clear_inode: affs_clear_inode,
put_super: affs_put_super,
write_super: affs_write_super,
statfs: affs_statfs,
remount_fs: affs_remount,
.alloc_inode = affs_alloc_inode,
.destroy_inode = affs_destroy_inode,
.read_inode = affs_read_inode,
.write_inode = affs_write_inode,
.put_inode = affs_put_inode,
.delete_inode = affs_delete_inode,
.clear_inode = affs_clear_inode,
.put_super = affs_put_super,
.write_super = affs_write_super,
.statfs = affs_statfs,
.remount_fs = affs_remount,
};
static int
......@@ -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 = {
owner: THIS_MODULE,
name: "affs",
get_sb: affs_get_sb,
kill_sb: kill_block_super,
fs_flags: FS_REQUIRES_DEV,
.owner = THIS_MODULE,
.name = "affs",
.get_sb = affs_get_sb,
.kill_sb = kill_block_super,
.fs_flags = FS_REQUIRES_DEV,
};
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