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

Merge branch 'aufs5.1/01modular' into aufs5.2/01modular

parents 32d0609f 20fc5a81
......@@ -25,7 +25,7 @@ struct au_nhash {
struct au_vdir_destr {
unsigned char len;
unsigned char name[0];
unsigned char name[];
} __packed;
struct au_vdir_dehstr {
......
......@@ -571,7 +571,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? */
......
......@@ -274,7 +274,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)
......@@ -325,7 +325,7 @@ struct au_drinfo {
uint8_t oldnamelen;
uint64_t _padding;
};
uint8_t oldname[0];
uint8_t oldname[];
} __aligned(8);
struct au_drinfo_fdata {
......@@ -419,7 +419,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