nfsd: remove nfsd4_ops array size
authorBenny Halevy <bhalevy@panasas.com>
Sat, 28 Mar 2009 08:32:05 +0000 (11:32 +0300)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 30 Mar 2009 21:03:11 +0000 (17:03 -0400)
There's no need for it.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4proc.c

index 7bb8cb3..249dad9 100644 (file)
@@ -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",