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

Merge branch 'aufs5.0/01modular' into aufs5.0/30stdalone

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