diff options
author | Benny Halevy <bhalevy@panasas.com> | 2009-03-28 04:32:05 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-03-30 17:03:11 -0400 |
commit | 20766016329eb4985c2c8b2a1b2333e0f865fdf9 (patch) | |
tree | 14c9feb06899a2c5db58d3e7914cc2450c5e0e1f /fs/nfsd/nfs4proc.c | |
parent | e354d571bb481f1d71f2c3004b9ff570b32e83bd (diff) |
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.c | 2 |
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: | |||
943 | return status; | 943 | return status; |
944 | } | 944 | } |
945 | 945 | ||
946 | static struct nfsd4_operation nfsd4_ops[OP_RELEASE_LOCKOWNER+1] = { | 946 | static struct nfsd4_operation nfsd4_ops[] = { |
947 | [OP_ACCESS] = { | 947 | [OP_ACCESS] = { |
948 | .op_func = (nfsd4op_func)nfsd4_access, | 948 | .op_func = (nfsd4op_func)nfsd4_access, |
949 | .op_name = "OP_ACCESS", | 949 | .op_name = "OP_ACCESS", |