Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158598
b: refs/heads/master
c: 2460ba5
h: refs/heads/master
v: v3
  • Loading branch information
Benny Halevy authored and Trond Myklebust committed Aug 14, 2009
1 parent 21bc499 commit bf75d0f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 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: 99398d0655ada44ae464a1c93d13cd438a306ecd
refs/heads/master: 2460ba57c49c36dfef0b62c929461de09240fe17
19 changes: 10 additions & 9 deletions trunk/fs/nfs/nfs4xdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -4144,6 +4144,7 @@ static int decode_exchange_id(struct xdr_stream *xdr,
{
__be32 *p;
uint32_t dummy;
char *dummy_str;
int status;
struct nfs_client *clp = res->client;

Expand All @@ -4166,19 +4167,19 @@ static int decode_exchange_id(struct xdr_stream *xdr,
READ_BUF(8);

/* Throw away Major id */
READ_BUF(4);
dummy = be32_to_cpup(p++);
READ_BUF(dummy);
status = decode_opaque_inline(xdr, &dummy, &dummy_str);
if (unlikely(status))
return status;

/* Throw away server_scope */
READ_BUF(4);
dummy = be32_to_cpup(p++);
READ_BUF(dummy);
status = decode_opaque_inline(xdr, &dummy, &dummy_str);
if (unlikely(status))
return status;

/* Throw away Implementation id array */
READ_BUF(4);
dummy = be32_to_cpup(p++);
READ_BUF(dummy);
status = decode_opaque_inline(xdr, &dummy, &dummy_str);
if (unlikely(status))
return status;

return 0;
}
Expand Down

0 comments on commit bf75d0f

Please sign in to comment.