[CRIU] [PATCH] ids: Don't forget to setup task state in write_img_inventory

Pavel Emelyanov xemul at parallels.com
Thu Mar 14 13:25:01 EDT 2013


On 03/14/2013 09:21 PM, Cyrill Gorcunov wrote:
> On Thu, Mar 14, 2013 at 09:06:04PM +0400, Pavel Emelyanov wrote:
>> On 03/14/2013 08:56 PM, Cyrill Gorcunov wrote:
>>> Current running task is always TASK_ALIVE, mark it this way.
>>
>> What for? The crt thing doesn't go to any image.
> 
> get_task_ids
> 	if (item->state != TASK_DEAD) {
> 		ret = dump_task_kobj_ids(item);
> 		if (ret)
> 			goto err_free;
> 
> But in write_img_inventory before get_task_ids caller
> we set all pstree item field to zero. So lets be consistent
> and mark task as alive earlier.
> 
> 	Cyrill
> .
> 


ok, applied, thanks


More information about the CRIU mailing list