[CRIU] Re: [PATCH 3/4] IPC: restore namespace itself

Kinsbursky Stanislav skinsbursky at openvz.org
Tue Jan 31 03:05:06 EST 2012


30.01.2012 22:04, Pavel Emelyanov пишет:
>> +static int prepare_ipc_data(int fd)
>> +{
>> +	int ret;
>> +	struct ipc_ns_data ipc;
>> +
>> +	ret = read_img(fd,&ipc);
>> +	if (ret<= 0)
>> +		return -EFAULT;
>> +	ret = prepare_ipc_tun(&ipc.entry);
>> +	if (ret<  0)
>> +		return ret;
>> +	return 0;
> return prepare_ipc_tun(&ipc.entry);

Wanted to object here. But then realized, that that will be a waste of time.
Will do as requested. But this place will be rewritten soon.

-- 
Best regards,
Stanislav Kinsbursky




More information about the CRIU mailing list