diff options
author | Matthew Wilcox <mawilcox@microsoft.com> | 2018-06-07 17:57:19 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2018-06-13 02:19:22 +0300 |
commit | a3ac973076df54493bfcfa95f186907c7dba6ed2 (patch) | |
tree | 24046fc706aa00b83e6f28b3024e15f0bbb4b7bf /fs/jffs2/acl.h | |
parent | b2303d7bf76d36a5176c793df628d302be29ab82 (diff) | |
download | linux-a3ac973076df54493bfcfa95f186907c7dba6ed2.tar.xz |
Convert jffs2 acl to struct_size
Need to tell the compiler that the acl entries follow the acl header.
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/jffs2/acl.h')
-rw-r--r-- | fs/jffs2/acl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/jffs2/acl.h b/fs/jffs2/acl.h index 2e2b5745c3b7..12d0271bdde3 100644 --- a/fs/jffs2/acl.h +++ b/fs/jffs2/acl.h @@ -22,6 +22,7 @@ struct jffs2_acl_entry_short { struct jffs2_acl_header { jint32_t a_version; + struct jffs2_acl_entry a_entries[]; }; #ifdef CONFIG_JFFS2_FS_POSIX_ACL |