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

Kinsbursky Stanislav skinsbursky at openvz.org
Fri Feb 10 06:41:33 EST 2012


10.02.2012 15:36, Pavel Emelyanov пишет:
> 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

NACK.

-- 
Best regards,
Stanislav Kinsbursky




More information about the CRIU mailing list