Skip to content

Commit

Permalink
nfsd: remove nfsd4_ops array size
Browse files Browse the repository at this point in the history
There's no need for it.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
  • Loading branch information
Benny Halevy authored and J. Bruce Fields committed Mar 30, 2009
1 parent e354d57 commit 2076601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfsd/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ nfsd4_proc_compound(struct svc_rqst *rqstp,
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",
Expand Down

0 comments on commit 2076601

Please sign in to comment.