]> Pileus Git - ~andy/linux/blobdiff - include/linux/nfsd/xdr4.h
nfsd41: DRC save, restore, and clear functions
[~andy/linux] / include / linux / nfsd / xdr4.h
index 6e28a041008dcfbf560dba4389c0b08e32ff2235..d091684325afcda55b47c8ea3acaaae08559c54b 100644 (file)
@@ -51,6 +51,8 @@ struct nfsd4_compound_state {
        /* For sessions DRC */
        struct nfsd4_session    *session;
        struct nfsd4_slot       *slot;
+       __be32                  *statp;
+       u32                     status;
 };
 
 struct nfsd4_change_info {
@@ -487,6 +489,8 @@ extern __be32 nfsd4_setclientid(struct svc_rqst *rqstp,
 extern __be32 nfsd4_setclientid_confirm(struct svc_rqst *rqstp,
                struct nfsd4_compound_state *,
                struct nfsd4_setclientid_confirm *setclientid_confirm);
+extern void nfsd4_store_cache_entry(struct nfsd4_compoundres *resp);
+extern __be32 nfsd4_replay_cache_entry(struct nfsd4_compoundres *resp);
 extern __be32 nfsd4_exchange_id(struct svc_rqst *rqstp,
                struct nfsd4_compound_state *,
 struct nfsd4_exchange_id *);