From: Benny Halevy Date: Sat, 28 Mar 2009 08:32:05 +0000 (+0300) Subject: nfsd: remove nfsd4_ops array size X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=20766016329eb4985c2c8b2a1b2333e0f865fdf9;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 7bb8cb321dfe..249dad987a16 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",