mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-17 12:34:01 +00:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue