[PATCH] NFSv4: empty array fix
Older gcc's don't like this. fs/nfs/nfs4proc.c:2194: field `data' has incomplete type Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
b7ef19560f
commit
3e9d41543b
|
@ -2191,7 +2191,7 @@ static void buf_to_pages(const void *buf, size_t buflen,
|
|||
struct nfs4_cached_acl {
|
||||
int cached;
|
||||
size_t len;
|
||||
char data[];
|
||||
char data[0];
|
||||
};
|
||||
|
||||
static void nfs4_set_cached_acl(struct inode *inode, struct nfs4_cached_acl *acl)
|
||||
|
|
Loading…
Reference in a new issue