Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79615
b: refs/heads/master
c: 5cce428
h: refs/heads/master
i:
  79613: 0db199c
  79611: a500fef
  79607: f6385b8
  79599: c5a01fa
  79583: a80dd4a
  79551: b62157c
  79487: 66bfc76
  79359: e88e1cc
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Jan 30, 2008
1 parent b07768d commit 93fd2e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: d45273ed6f4613e81701c3e896d9db200c288fff
refs/heads/master: 5cce428d953cc3843b100e078dbc3c01c6411b85
2 changes: 1 addition & 1 deletion trunk/fs/nfs/callback_xdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static __be32 decode_compound_hdr_arg(struct xdr_stream *xdr, struct cb_compound
if (unlikely(status != 0))
return status;
/* We do not like overly long tags! */
if (hdr->taglen > CB_OP_TAGLEN_MAXSZ-12 || hdr->taglen < 0) {
if (hdr->taglen > CB_OP_TAGLEN_MAXSZ - 12) {
printk("NFSv4 CALLBACK %s: client sent tag of length %u\n",
__FUNCTION__, hdr->taglen);
return htonl(NFS4ERR_RESOURCE);
Expand Down

0 comments on commit 93fd2e2

Please sign in to comment.