]> git.baikalelectronics.ru Git - kernel.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)
commit677f2e40f9b51d850b897f4ea7e8671aa9c5c9bd
tree3ef06f0ad70dd12bcb398682b398c77e535b7348
parent0344d7e1fe995ee2ec1db2926ae6d1fc3879c59b
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