]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sunrpc: clean up xdr_shrink_pagelen use of temporary pointer
authorBenny Halevy <bhalevy@panasas.com>
Sun, 29 Aug 2010 16:13:15 +0000 (12:13 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 29 Aug 2010 16:13:15 +0000 (12:13 -0400)
commit0fe62a35903e11fb41b492bd5b0e8e4c751d5c94
tree3ef06f0ad70dd12bcb398682b398c77e535b7348
parentb1a7a91ada8388936ffff92cf1ad57b3e926f412
sunrpc: clean up xdr_shrink_pagelen use of temporary pointer

char *p is used only as a shorthand for tail->iov_base + len in a nested
block.  Move it there.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xdr.c