summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4proc.c
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2009-03-28 09:32:05 +0100
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-03-30 23:03:11 +0200
commit20766016329eb4985c2c8b2a1b2333e0f865fdf9 (patch)
tree14c9feb06899a2c5db58d3e7914cc2450c5e0e1f /fs/nfsd/nfs4proc.c
parentnfsd: embed nfsd4_current_state in nfsd4_compoundres (diff)
downloadlinux-20766016329eb4985c2c8b2a1b2333e0f865fdf9.tar.xz
linux-20766016329eb4985c2c8b2a1b2333e0f865fdf9.zip
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>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-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 7bb8cb321dfe..249dad987a16 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",