summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2009-03-28 11:32:05 +0300
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-03-30 17:03:11 -0400
commit20766016329eb4985c2c8b2a1b2333e0f865fdf9 (patch)
tree14c9feb06899a2c5db58d3e7914cc2450c5e0e1f
parente354d571bb481f1d71f2c3004b9ff570b32e83bd (diff)
downloadop-kernel-dev-20766016329eb4985c2c8b2a1b2333e0f865fdf9.zip
op-kernel-dev-20766016329eb4985c2c8b2a1b2333e0f865fdf9.tar.gz
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>
-rw-r--r--fs/nfsd/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 7bb8cb3..249dad9 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",
OpenPOWER on IntegriCloud