diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2011-07-13 10:50:48 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-07-15 18:58:48 -0400 |
commit | 17456804546b78a1c13d2b934c8f50bbde141a38 (patch) | |
tree | d9585ae98e98101830068c9ab29556795a162942 /fs/nfsd/nfs4proc.c | |
parent | e1ca12dfb1be7fe8b82ca723a9b511f7d808bf81 (diff) |
NFSD: Added TEST_STATEID operation
This operation is used by the client to check the validity of a list of
stateids.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index a27dea50273d..96b69299dcbe 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c | |||
@@ -1417,6 +1417,11 @@ static struct nfsd4_operation nfsd4_ops[] = { | |||
1417 | .op_flags = OP_HANDLES_WRONGSEC, | 1417 | .op_flags = OP_HANDLES_WRONGSEC, |
1418 | .op_name = "OP_SECINFO_NO_NAME", | 1418 | .op_name = "OP_SECINFO_NO_NAME", |
1419 | }, | 1419 | }, |
1420 | [OP_TEST_STATEID] = { | ||
1421 | .op_func = (nfsd4op_func)nfsd4_test_stateid, | ||
1422 | .op_flags = ALLOWED_WITHOUT_FH, | ||
1423 | .op_name = "OP_TEST_STATEID", | ||
1424 | }, | ||
1420 | [OP_FREE_STATEID] = { | 1425 | [OP_FREE_STATEID] = { |
1421 | .op_func = (nfsd4op_func)nfsd4_free_stateid, | 1426 | .op_func = (nfsd4op_func)nfsd4_free_stateid, |
1422 | .op_flags = ALLOWED_WITHOUT_FH, | 1427 | .op_flags = ALLOWED_WITHOUT_FH, |