Skip to content

fix up xdr_shrink_pagelen

Benny Halevy linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4sunrpc: don't shorten buflen twice in xdr_shrink_pagelennet/sunrpc/xdr.c+1 -23 replies
2/4sunrpc: clean up xdr_shrink_pagelen use of temporary pointernet/sunrpc/xdr.c+1 -20 replies
3/4sunrpc: don't use the copy variable in nested blocknet/sunrpc/xdr.c+1 -20 replies
4/4sunrpc: simplify xdr_shrijk_pagelen use of "copy"net/sunrpc/xdr.c+3 -32 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] fix up xdr_shrink_pagelen

Trond, the following 3 patches fix and clean up xdr_shrink_pagelen.

The main issue is that buf->buflen -= len is potentially done twice. The rest are cosmetic clean ups that simplify the code a bit.

[PATCH 1/4] sunrpc: don't shorten buflen twice in xdr_shrink_pagelen [PATCH 2/4] sunrpc: clean up xdr_shrink_pagelen use of temporary pointer [PATCH 3/4] sunrpc: don't use the copy variable in nested block [PATCH 4/4] sunrpc: simplify xdr_shrijk_pagelen use of "copy"

Benny