Commit 7a8c31e9 authored by Art Haas's avatar Art Haas Committed by Linus Torvalds

[PATCH] named initializers for fs/vfat

parent 3e56edd0
...@@ -49,22 +49,22 @@ static int vfat_revalidate(struct dentry *dentry, int); ...@@ -49,22 +49,22 @@ static int vfat_revalidate(struct dentry *dentry, int);
static struct dentry_operations vfat_dentry_ops[4] = { static struct dentry_operations vfat_dentry_ops[4] = {
{ {
d_hash: vfat_hashi, .d_hash = vfat_hashi,
d_compare: vfat_cmpi, .d_compare = vfat_cmpi,
}, },
{ {
d_revalidate: vfat_revalidate, .d_revalidate = vfat_revalidate,
d_hash: vfat_hashi, .d_hash = vfat_hashi,
d_compare: vfat_cmpi, .d_compare = vfat_cmpi,
}, },
{ {
d_hash: vfat_hash, .d_hash = vfat_hash,
d_compare: vfat_cmp, .d_compare = vfat_cmp,
}, },
{ {
d_revalidate: vfat_revalidate, .d_revalidate = vfat_revalidate,
d_hash: vfat_hash, .d_hash = vfat_hash,
d_compare: vfat_cmp, .d_compare = vfat_cmp,
} }
}; };
...@@ -1269,13 +1269,13 @@ int vfat_rename(struct inode *old_dir,struct dentry *old_dentry, ...@@ -1269,13 +1269,13 @@ int vfat_rename(struct inode *old_dir,struct dentry *old_dentry,
/* Public inode operations for the VFAT fs */ /* Public inode operations for the VFAT fs */
struct inode_operations vfat_dir_inode_operations = { struct inode_operations vfat_dir_inode_operations = {
create: vfat_create, .create = vfat_create,
lookup: vfat_lookup, .lookup = vfat_lookup,
unlink: vfat_unlink, .unlink = vfat_unlink,
mkdir: vfat_mkdir, .mkdir = vfat_mkdir,
rmdir: vfat_rmdir, .rmdir = vfat_rmdir,
rename: vfat_rename, .rename = vfat_rename,
setattr: fat_notify_change, .setattr = fat_notify_change,
}; };
int vfat_fill_super(struct super_block *sb, void *data, int silent) int vfat_fill_super(struct super_block *sb, void *data, int silent)
......
...@@ -18,11 +18,11 @@ static struct super_block *vfat_get_sb(struct file_system_type *fs_type, ...@@ -18,11 +18,11 @@ static struct super_block *vfat_get_sb(struct file_system_type *fs_type,
} }
static struct file_system_type vfat_fs_type = { static struct file_system_type vfat_fs_type = {
owner: THIS_MODULE, .owner = THIS_MODULE,
name: "vfat", .name = "vfat",
get_sb: vfat_get_sb, .get_sb = vfat_get_sb,
kill_sb: kill_block_super, .kill_sb = kill_block_super,
fs_flags: FS_REQUIRES_DEV, .fs_flags = FS_REQUIRES_DEV,
}; };
EXPORT_SYMBOL(vfat_create); EXPORT_SYMBOL(vfat_create);
......
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