Browse Source

nfsd: remove nfsd4_ops array size

There's no need for it.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Benny Halevy 16 years ago
parent
commit
2076601632
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/nfsd/nfs4proc.c

+ 1 - 1
fs/nfsd/nfs4proc.c

@@ -943,7 +943,7 @@ out:
 	return status;
 	return status;
 }
 }
 
 
-static struct nfsd4_operation nfsd4_ops[OP_RELEASE_LOCKOWNER+1] = {
+static struct nfsd4_operation nfsd4_ops[] = {
 	[OP_ACCESS] = {
 	[OP_ACCESS] = {
 		.op_func = (nfsd4op_func)nfsd4_access,
 		.op_func = (nfsd4op_func)nfsd4_access,
 		.op_name = "OP_ACCESS",
 		.op_name = "OP_ACCESS",