diff options
-rw-r--r-- | fs/nfsd/nfs4callback.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c index ae917921ed41..c8dd03c3f0fd 100644 --- a/fs/nfsd/nfs4callback.c +++ b/fs/nfsd/nfs4callback.c | |||
@@ -143,8 +143,6 @@ struct nfs4_cb_compound_hdr { | |||
143 | u32 minorversion; | 143 | u32 minorversion; |
144 | /* res */ | 144 | /* res */ |
145 | int status; | 145 | int status; |
146 | u32 taglen; | ||
147 | char *tag; | ||
148 | }; | 146 | }; |
149 | 147 | ||
150 | static struct { | 148 | static struct { |
@@ -293,13 +291,14 @@ nfs4_xdr_enc_cb_recall(struct rpc_rqst *req, __be32 *p, | |||
293 | static int | 291 | static int |
294 | decode_cb_compound_hdr(struct xdr_stream *xdr, struct nfs4_cb_compound_hdr *hdr){ | 292 | decode_cb_compound_hdr(struct xdr_stream *xdr, struct nfs4_cb_compound_hdr *hdr){ |
295 | __be32 *p; | 293 | __be32 *p; |
294 | u32 taglen; | ||
296 | 295 | ||
297 | READ_BUF(8); | 296 | READ_BUF(8); |
298 | READ32(hdr->status); | 297 | READ32(hdr->status); |
299 | READ32(hdr->taglen); | 298 | /* We've got no use for the tag; ignore it: */ |
300 | READ_BUF(hdr->taglen + 4); | 299 | READ32(taglen); |
301 | hdr->tag = (char *)p; | 300 | READ_BUF(taglen + 4); |
302 | p += XDR_QUADLEN(hdr->taglen); | 301 | p += XDR_QUADLEN(taglen); |
303 | READ32(hdr->nops); | 302 | READ32(hdr->nops); |
304 | return 0; | 303 | return 0; |
305 | } | 304 | } |