Commit 68a4b48c authored by J. Bruce Fields's avatar J. Bruce Fields

nfsd4: don't bother storing callback reply tag

We don't use this, and probably never will.
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent 24a0111e
...@@ -143,8 +143,6 @@ struct nfs4_cb_compound_hdr { ...@@ -143,8 +143,6 @@ struct nfs4_cb_compound_hdr {
u32 minorversion; u32 minorversion;
/* res */ /* res */
int status; int status;
u32 taglen;
char *tag;
}; };
static struct { static struct {
...@@ -293,13 +291,14 @@ nfs4_xdr_enc_cb_recall(struct rpc_rqst *req, __be32 *p, ...@@ -293,13 +291,14 @@ nfs4_xdr_enc_cb_recall(struct rpc_rqst *req, __be32 *p,
static int static int
decode_cb_compound_hdr(struct xdr_stream *xdr, struct nfs4_cb_compound_hdr *hdr){ decode_cb_compound_hdr(struct xdr_stream *xdr, struct nfs4_cb_compound_hdr *hdr){
__be32 *p; __be32 *p;
u32 taglen;
READ_BUF(8); READ_BUF(8);
READ32(hdr->status); READ32(hdr->status);
READ32(hdr->taglen); /* We've got no use for the tag; ignore it: */
READ_BUF(hdr->taglen + 4); READ32(taglen);
hdr->tag = (char *)p; READ_BUF(taglen + 4);
p += XDR_QUADLEN(hdr->taglen); p += XDR_QUADLEN(taglen);
READ32(hdr->nops); READ32(hdr->nops);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment