Commit 59a45951 authored by Art Haas's avatar Art Haas Committed by Linus Torvalds

[PATCH] C99 designated initializers for fs/ext3

This fixes the new ACL bits in fs/ext3 to use C99 designated
initializers.
parent d8ba9c63
...@@ -547,17 +547,17 @@ ext3_xattr_set_acl_default(struct inode *inode, const char *name, ...@@ -547,17 +547,17 @@ ext3_xattr_set_acl_default(struct inode *inode, const char *name,
} }
struct ext3_xattr_handler ext3_xattr_acl_access_handler = { struct ext3_xattr_handler ext3_xattr_acl_access_handler = {
prefix: XATTR_NAME_ACL_ACCESS, .prefix = XATTR_NAME_ACL_ACCESS,
list: ext3_xattr_list_acl_access, .list = ext3_xattr_list_acl_access,
get: ext3_xattr_get_acl_access, .get = ext3_xattr_get_acl_access,
set: ext3_xattr_set_acl_access, .set = ext3_xattr_set_acl_access,
}; };
struct ext3_xattr_handler ext3_xattr_acl_default_handler = { struct ext3_xattr_handler ext3_xattr_acl_default_handler = {
prefix: XATTR_NAME_ACL_DEFAULT, .prefix = XATTR_NAME_ACL_DEFAULT,
list: ext3_xattr_list_acl_default, .list = ext3_xattr_list_acl_default,
get: ext3_xattr_get_acl_default, .get = ext3_xattr_get_acl_default,
set: ext3_xattr_set_acl_default, .set = ext3_xattr_set_acl_default,
}; };
void void
......
...@@ -92,8 +92,8 @@ ext3_xattr_user_set(struct inode *inode, const char *name, ...@@ -92,8 +92,8 @@ ext3_xattr_user_set(struct inode *inode, const char *name,
} }
struct ext3_xattr_handler ext3_xattr_user_handler = { struct ext3_xattr_handler ext3_xattr_user_handler = {
prefix: XATTR_USER_PREFIX, .prefix = XATTR_USER_PREFIX,
list: ext3_xattr_user_list, .list = ext3_xattr_user_list,
get: ext3_xattr_user_get, .get = ext3_xattr_user_get,
set: ext3_xattr_user_set, .set = ext3_xattr_user_set,
}; };
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