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>
This commit is contained in:
Benny Halevy 2009-03-28 11:32:05 +03:00 committed by J. Bruce Fields
parent e354d571bb
commit 2076601632
1 changed files with 1 additions and 1 deletions

View 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",