summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2009-03-28 08:32:05 (GMT)
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-03-30 21:03:11 (GMT)
commit20766016329eb4985c2c8b2a1b2333e0f865fdf9 (patch)
tree14c9feb06899a2c5db58d3e7914cc2450c5e0e1f
parente354d571bb481f1d71f2c3004b9ff570b32e83bd (diff)
downloadlinux-fsl-qoriq-20766016329eb4985c2c8b2a1b2333e0f865fdf9.tar.xz
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",