From: Benny Halevy Date: Sat, 28 Mar 2009 08:32:05 +0000 (+0300) Subject: nfsd: remove nfsd4_ops array size X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=20766016329eb4985c2c8b2a1b2333e0f865fdf9;p=linux-2.6-omap-h63xx.git nfsd: remove nfsd4_ops array size There's no need for it. Signed-off-by: Benny Halevy Signed-off-by: J. Bruce Fields --- diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index 7bb8cb321df..249dad987a1 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c @@ -943,7 +943,7 @@ out: return status; } -static struct nfsd4_operation nfsd4_ops[OP_RELEASE_LOCKOWNER+1] = { +static struct nfsd4_operation nfsd4_ops[] = { [OP_ACCESS] = { .op_func = (nfsd4op_func)nfsd4_access, .op_name = "OP_ACCESS",