Commit 3e9d4154 authored by Andrew Morton's avatar Andrew Morton Committed by Trond Myklebust

[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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent b7ef1956
......@@ -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)
......
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