OSDN Git Service

SUNRPC: Clean up xdr_write_pages()
authorChuck Lever <chuck.lever@oracle.com>
Sat, 26 Nov 2022 20:55:24 +0000 (15:55 -0500)
committerChuck Lever <cel@kernel.org>
Sat, 10 Dec 2022 16:01:13 +0000 (11:01 -0500)
commitad3d24c59d8c3b31b10bb3e4944ae7bef63480d3
tree3eae4ae0d520369b3f1672733b41ad5291d3d84d
parentda522b5fe1a5f8b7c20a0023e87b52a150e53bf5
SUNRPC: Clean up xdr_write_pages()

Make it more evident how xdr_write_pages() updates the tail buffer
by using the convention of naming the iov pointer variable "tail".
I spent more than a couple of hours chasing through code to
understand this, so someone is likely to find this useful later.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
net/sunrpc/xdr.c