diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-09-27 13:03:22 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-27 21:52:00 -0400 |
commit | 2211d5ba5c6c4e972ba6dbc912b2897425ea6621 (patch) | |
tree | 2e74980ee6f475ea25560b098e367b1b5b7b8907 /drivers/staging/lustre/lustre/include/lustre_acl.h | |
parent | de04e76935ad5985d318fbce298a17e9dd2092b7 (diff) | |
download | op-kernel-dev-2211d5ba5c6c4e972ba6dbc912b2897425ea6621.zip op-kernel-dev-2211d5ba5c6c4e972ba6dbc912b2897425ea6621.tar.gz |
posix_acl: xattr representation cleanups
Remove the unnecessary typedefs and the zero-length a_entries array in
struct posix_acl_xattr_header.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/staging/lustre/lustre/include/lustre_acl.h')
-rw-r--r-- | drivers/staging/lustre/lustre/include/lustre_acl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/lustre/lustre/include/lustre_acl.h b/drivers/staging/lustre/lustre/include/lustre_acl.h index fecabe1..9786f6c 100644 --- a/drivers/staging/lustre/lustre/include/lustre_acl.h +++ b/drivers/staging/lustre/lustre/include/lustre_acl.h @@ -38,8 +38,8 @@ #include <linux/posix_acl_xattr.h> #define LUSTRE_POSIX_ACL_MAX_ENTRIES 32 -#define LUSTRE_POSIX_ACL_MAX_SIZE \ - (sizeof(posix_acl_xattr_header) + \ - LUSTRE_POSIX_ACL_MAX_ENTRIES * sizeof(posix_acl_xattr_entry)) +#define LUSTRE_POSIX_ACL_MAX_SIZE \ + (sizeof(struct posix_acl_xattr_header) + \ + LUSTRE_POSIX_ACL_MAX_ENTRIES * sizeof(struct posix_acl_xattr_entry)) #endif |