crufty old gcc: fs/nfsd/nfs4proc.c: In function `nfsd4_readdir': fs/nfsd/nfs4proc.c:533: array index in non-array initializer fs/nfsd/nfs4proc.c:533: (near initialization for `zeroverf') fs/nfsd/nfs4proc.c:533: warning: missing braces around initializer fs/nfsd/nfs4proc.c:533: warning: (near initialization for `zeroverf.data') --- 25-akpm/fs/nfsd/nfs4proc.c | 4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) diff -puN fs/nfsd/nfs4proc.c~nfsd4_readdir-build-fix fs/nfsd/nfs4proc.c --- 25/fs/nfsd/nfs4proc.c~nfsd4_readdir-build-fix 2004-04-07 22:08:25.689071808 -0700 +++ 25-akpm/fs/nfsd/nfs4proc.c 2004-04-07 22:08:25.693071200 -0700 @@ -449,9 +449,7 @@ static inline int nfsd4_readdir(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_readdir *readdir) { u64 cookie = readdir->rd_cookie; - static const nfs4_verifier zeroverf = { - .data[0] = 0, - }; + static const nfs4_verifier zeroverf; /* no need to check permission - this will be done in nfsd_readdir() */ _