diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2011-07-13 11:04:21 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-07-15 18:58:47 -0400 |
commit | e1ca12dfb1be7fe8b82ca723a9b511f7d808bf81 (patch) | |
tree | 4d70be30b1bbd329d1edb036f9b974cce24f9b40 /fs/nfsd/xdr4.h | |
parent | ebc63e531cc6a457595dd110b07ac530eae788c3 (diff) |
NFSD: added FREE_STATEID operation
This operation is used by the client to tell the server to free a
stateid.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r-- | fs/nfsd/xdr4.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index 366401e1a536..ed1784d31a60 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h | |||
@@ -342,6 +342,11 @@ struct nfsd4_setclientid_confirm { | |||
342 | nfs4_verifier sc_confirm; | 342 | nfs4_verifier sc_confirm; |
343 | }; | 343 | }; |
344 | 344 | ||
345 | struct nfsd4_free_stateid { | ||
346 | stateid_t fr_stateid; /* request */ | ||
347 | __be32 fr_status; /* response */ | ||
348 | }; | ||
349 | |||
345 | /* also used for NVERIFY */ | 350 | /* also used for NVERIFY */ |
346 | struct nfsd4_verify { | 351 | struct nfsd4_verify { |
347 | u32 ve_bmval[3]; /* request */ | 352 | u32 ve_bmval[3]; /* request */ |
@@ -432,6 +437,7 @@ struct nfsd4_op { | |||
432 | struct nfsd4_destroy_session destroy_session; | 437 | struct nfsd4_destroy_session destroy_session; |
433 | struct nfsd4_sequence sequence; | 438 | struct nfsd4_sequence sequence; |
434 | struct nfsd4_reclaim_complete reclaim_complete; | 439 | struct nfsd4_reclaim_complete reclaim_complete; |
440 | struct nfsd4_free_stateid free_stateid; | ||
435 | } u; | 441 | } u; |
436 | struct nfs4_replay * replay; | 442 | struct nfs4_replay * replay; |
437 | }; | 443 | }; |
@@ -564,6 +570,8 @@ extern __be32 nfsd4_delegreturn(struct svc_rqst *rqstp, | |||
564 | struct nfsd4_compound_state *, struct nfsd4_delegreturn *dr); | 570 | struct nfsd4_compound_state *, struct nfsd4_delegreturn *dr); |
565 | extern __be32 nfsd4_renew(struct svc_rqst *rqstp, | 571 | extern __be32 nfsd4_renew(struct svc_rqst *rqstp, |
566 | struct nfsd4_compound_state *, clientid_t *clid); | 572 | struct nfsd4_compound_state *, clientid_t *clid); |
573 | extern __be32 nfsd4_free_stateid(struct svc_rqst *rqstp, | ||
574 | struct nfsd4_compound_state *, struct nfsd4_free_stateid *free_stateid); | ||
567 | #endif | 575 | #endif |
568 | 576 | ||
569 | /* | 577 | /* |