From: Andrew Morton Date: Wed, 22 Jun 2005 17:16:28 +0000 (+0000) Subject: [PATCH] NFSv4: empty array fix X-Git-Tag: v2.6.13-rc4~130^2~157^2~23 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3e9d41543b16e6117267edc0ca058c40f888d81a;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 7ff23707256..3f281a857e3 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -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)