[CRIU] Re: [PATCH] IPC: use constant pointers where possible

Pavel Emelyanov xemul at parallels.com
Wed Feb 8 07:13:55 EST 2012


On 02/08/2012 03:47 PM, Kinsbursky Stanislav wrote:
> 
> 
> Signed-off-by: Stanislav Kinsbursky <skinsbursky at parallels.com>

Acked-by: Pavel Emelyanov <xemul at parallels.com>

> ---
>  ipc_ns.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/ipc_ns.c b/ipc_ns.c
> index cc34a6a..de51715 100644
> --- a/ipc_ns.c
> +++ b/ipc_ns.c
> @@ -108,7 +108,7 @@ static int dump_ipc_var(int fd)
>  	return 0;
>  }
>  
> -static int dump_ipc_data(struct cr_fdset *fdset)
> +static int dump_ipc_data(const struct cr_fdset *fdset)
>  {
>  	int ret;
>  
> @@ -127,7 +127,7 @@ static int dump_ipc_data(struct cr_fdset *fdset)
>  	return 0;
>  }
>  
> -int dump_ipc_ns(int ns_pid, struct cr_fdset *fdset)
> +int dump_ipc_ns(int ns_pid, const struct cr_fdset *fdset)
>  {
>  	int fd, ret;
>  
> 



More information about the CRIU mailing list