[CRIU] Re: [PATCH] ipc: rename struct ipc_seg

Pavel Emelyanov xemul at parallels.com
Fri Feb 10 06:36:56 EST 2012


On 02/10/2012 02:15 PM, Kinsbursky Stanislav wrote:
> This name for the structure is obfuscating, because structure will be used
> also for queues and semaphores sets migration.
> This patch renames this structure int ipc_obj_entry. It also renames all
> related functions and prints to reflect structure name change.
> 
> Signed-off-by: Stanislav Kinsbursky <skinsbursky at parallels.com>
> 
> ---
>  include/image.h |    4 ++--
>  ipc_ns.c        |   55 ++++++++++++++++++++++++++++---------------------------
>  2 files changed, 30 insertions(+), 29 deletions(-)
> 
> diff --git a/include/image.h b/include/image.h
> index 01a3b86..9db94c5 100644
> --- a/include/image.h
> +++ b/include/image.h
> @@ -126,7 +126,7 @@ struct ipc_var_entry {
>  	u32	mq_msgsize_max;
>  } __packed;
>  
> -struct ipc_seg {
> +struct ipc_obj_entry {
>  	u32	key;
>  	u32	uid;
>  	u32	gid;

ipc_entry_hdr


More information about the CRIU mailing list