Commit d8ba9c63 authored by Art Haas's avatar Art Haas Committed by Linus Torvalds

[PATCH] C99 designated initializers for fs/ext2

This converts the new ACL bits in fs/ext2 to use C99 designated
initializers.
parent 5db72991
......@@ -530,17 +530,17 @@ ext2_xattr_set_acl_default(struct inode *inode, const char *name,
}
struct ext2_xattr_handler ext2_xattr_acl_access_handler = {
prefix: XATTR_NAME_ACL_ACCESS,
list: ext2_xattr_list_acl_access,
get: ext2_xattr_get_acl_access,
set: ext2_xattr_set_acl_access,
.prefix = XATTR_NAME_ACL_ACCESS,
.list = ext2_xattr_list_acl_access,
.get = ext2_xattr_get_acl_access,
.set = ext2_xattr_set_acl_access,
};
struct ext2_xattr_handler ext2_xattr_acl_default_handler = {
prefix: XATTR_NAME_ACL_DEFAULT,
list: ext2_xattr_list_acl_default,
get: ext2_xattr_get_acl_default,
set: ext2_xattr_set_acl_default,
.prefix = XATTR_NAME_ACL_DEFAULT,
.list = ext2_xattr_list_acl_default,
.get = ext2_xattr_get_acl_default,
.set = ext2_xattr_set_acl_default,
};
void
......
......@@ -81,10 +81,10 @@ ext2_xattr_user_set(struct inode *inode, const char *name,
}
struct ext2_xattr_handler ext2_xattr_user_handler = {
prefix: XATTR_USER_PREFIX,
list: ext2_xattr_user_list,
get: ext2_xattr_user_get,
set: ext2_xattr_user_set,
.prefix = XATTR_USER_PREFIX,
.list = ext2_xattr_user_list,
.get = ext2_xattr_user_get,
.set = ext2_xattr_user_set,
};
int __init
......
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