Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206425
b: refs/heads/master
c: 68a4b48
h: refs/heads/master
i:
  206423: fdae4a7
v: v3
  • Loading branch information
J. Bruce Fields committed May 31, 2010
1 parent cde7d06 commit cc3f3ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 24a0111e405abeb74701ce3b7b665365c27de19e
refs/heads/master: 68a4b48ce6cb73a9643bae6dd3e0f062e3fd8ef7
11 changes: 5 additions & 6 deletions trunk/fs/nfsd/nfs4callback.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,6 @@ struct nfs4_cb_compound_hdr {
u32 minorversion;
/* res */
int status;
u32 taglen;
char *tag;
};

static struct {
Expand Down Expand Up @@ -293,13 +291,14 @@ nfs4_xdr_enc_cb_recall(struct rpc_rqst *req, __be32 *p,
static int
decode_cb_compound_hdr(struct xdr_stream *xdr, struct nfs4_cb_compound_hdr *hdr){
__be32 *p;
u32 taglen;

READ_BUF(8);
READ32(hdr->status);
READ32(hdr->taglen);
READ_BUF(hdr->taglen + 4);
hdr->tag = (char *)p;
p += XDR_QUADLEN(hdr->taglen);
/* We've got no use for the tag; ignore it: */
READ32(taglen);
READ_BUF(taglen + 4);
p += XDR_QUADLEN(taglen);
READ32(hdr->nops);
return 0;
}
Expand Down

0 comments on commit cc3f3ae

Please sign in to comment.