Commit fbd30171 authored by J. R. Okajima's avatar J. R. Okajima
Browse files

Merge branch 'aufs5.6/00base' into aufs5.x-rcN/00base

parents e7823f18 c1c73e0c
...@@ -25,7 +25,7 @@ struct au_nhash { ...@@ -25,7 +25,7 @@ struct au_nhash {
struct au_vdir_destr { struct au_vdir_destr {
unsigned char len; unsigned char len;
unsigned char name[0]; unsigned char name[];
} __packed; } __packed;
struct au_vdir_dehstr { struct au_vdir_dehstr {
......
...@@ -571,7 +571,7 @@ struct au_drinfo_rev_elm { ...@@ -571,7 +571,7 @@ struct au_drinfo_rev_elm {
struct au_drinfo_rev { struct au_drinfo_rev {
unsigned char already; unsigned char already;
aufs_bindex_t nelm; aufs_bindex_t nelm;
struct au_drinfo_rev_elm elm[0]; struct au_drinfo_rev_elm elm[];
}; };
/* todo: isn't it too large? */ /* todo: isn't it too large? */
......
...@@ -274,7 +274,7 @@ struct au_rdu_ent { ...@@ -274,7 +274,7 @@ struct au_rdu_ent {
uint8_t type; uint8_t type;
uint8_t nlen; uint8_t nlen;
uint8_t wh; uint8_t wh;
char name[0]; char name[];
} __aligned(8); } __aligned(8);
static inline int au_rdu_len(int nlen) static inline int au_rdu_len(int nlen)
...@@ -325,7 +325,7 @@ struct au_drinfo { ...@@ -325,7 +325,7 @@ struct au_drinfo {
uint8_t oldnamelen; uint8_t oldnamelen;
uint64_t _padding; uint64_t _padding;
}; };
uint8_t oldname[0]; uint8_t oldname[];
} __aligned(8); } __aligned(8);
struct au_drinfo_fdata { struct au_drinfo_fdata {
...@@ -419,7 +419,7 @@ union aufs_brinfo { ...@@ -419,7 +419,7 @@ union aufs_brinfo {
struct { struct {
int16_t id; int16_t id;
int perm; int perm;
char path[0]; char path[];
}; };
} __aligned(8); } __aligned(8);
......
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