OSDN Git Service

SUNRPC: constify copied structure
authorJulia Lawall <Julia.Lawall@inria.fr>
Wed, 1 Jan 2020 07:43:30 +0000 (08:43 +0100)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 15 Jan 2020 15:54:31 +0000 (10:54 -0500)
commitc2bd2c0a55dd36c16b25a8fd93aa1053b576b72c
tree6c23baecfc070fd652a47c4f1bc3ee59d6272dc3
parentbd89bc67f64fa23846645ce8b1c3cb51efebab32
SUNRPC: constify copied structure

The empty_iov structure is only copied into another structure,
so make it const.

The opportunity for this change was found using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xdr.c