projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7ef195
)
[PATCH] NFSv4: empty array fix
author
Andrew Morton
<akpm@osdl.org>
Wed, 22 Jun 2005 17:16:28 +0000
(17:16 +0000)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 22 Jun 2005 20:07:28 +0000
(16:07 -0400)
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>
fs/nfs/nfs4proc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index 7ff23707256ae3a6460bdce7b977c1e5830bb63d..3f281a857e389a4a8ae425eea60f2db5e90f861b 100644
(file)
--- 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)