Commit 1b89d8d6 authored by Art Haas's avatar Art Haas Committed by Linus Torvalds

[PATCH] named initializers for fs/msdos

parent 038d2710
...@@ -31,11 +31,11 @@ static struct super_block *msdos_get_sb(struct file_system_type *fs_type, ...@@ -31,11 +31,11 @@ static struct super_block *msdos_get_sb(struct file_system_type *fs_type,
} }
static struct file_system_type msdos_fs_type = { static struct file_system_type msdos_fs_type = {
owner: THIS_MODULE, .owner = THIS_MODULE,
name: "msdos", .name = "msdos",
get_sb: msdos_get_sb, .get_sb = msdos_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_msdos_fs(void) static int __init init_msdos_fs(void)
......
...@@ -189,8 +189,8 @@ static int msdos_cmp(struct dentry *dentry, struct qstr *a, struct qstr *b) ...@@ -189,8 +189,8 @@ static int msdos_cmp(struct dentry *dentry, struct qstr *a, struct qstr *b)
static struct dentry_operations msdos_dentry_operations = { static struct dentry_operations msdos_dentry_operations = {
d_hash: msdos_hash, .d_hash = msdos_hash,
d_compare: msdos_cmp, .d_compare = msdos_cmp,
}; };
/* /*
...@@ -590,13 +590,13 @@ int msdos_rename(struct inode *old_dir,struct dentry *old_dentry, ...@@ -590,13 +590,13 @@ int msdos_rename(struct inode *old_dir,struct dentry *old_dentry,
/* The public inode operations for the msdos fs */ /* The public inode operations for the msdos fs */
struct inode_operations msdos_dir_inode_operations = { struct inode_operations msdos_dir_inode_operations = {
create: msdos_create, .create = msdos_create,
lookup: msdos_lookup, .lookup = msdos_lookup,
unlink: msdos_unlink, .unlink = msdos_unlink,
mkdir: msdos_mkdir, .mkdir = msdos_mkdir,
rmdir: msdos_rmdir, .rmdir = msdos_rmdir,
rename: msdos_rename, .rename = msdos_rename,
setattr: fat_notify_change, .setattr = fat_notify_change,
}; };
int msdos_fill_super(struct super_block *sb,void *data, int silent) int msdos_fill_super(struct super_block *sb,void *data, int silent)
......
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