diff options
author | Benny Halevy <bhalevy@panasas.com> | 2009-03-28 11:32:05 +0300 |
---|---|---|
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) | |
download | talos-obmc-linux-20766016329eb4985c2c8b2a1b2333e0f865fdf9.tar.gz talos-obmc-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.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: 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", |