Skip to content

Commit

Permalink
[PATCH] NFSv4: empty array fix
Browse files Browse the repository at this point in the history
 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>
  • Loading branch information
Andrew Morton authored and Trond Myklebust committed Jun 22, 2005
1 parent b7ef195 commit 3e9d415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3e9d415

Please sign in to comment.