aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-06-22 13:16:28 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-06-22 16:07:28 -0400
commit3e9d41543b16e6117267edc0ca058c40f888d81a (patch)
tree90b26a247de5776ad46a6e6a8861a449d7c6d840 /fs
parentb7ef19560f496fd3942e41e728950e5b5c9a461b (diff)
[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>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 7ff23707256a..3f281a857e38 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,
2191struct nfs4_cached_acl { 2191struct nfs4_cached_acl {
2192 int cached; 2192 int cached;
2193 size_t len; 2193 size_t len;
2194 char data[]; 2194 char data[0];
2195}; 2195};
2196 2196
2197static void nfs4_set_cached_acl(struct inode *inode, struct nfs4_cached_acl *acl) 2197static void nfs4_set_cached_acl(struct inode *inode, struct nfs4_cached_acl *acl)