[CRIU] [PATCH] image-desc: Don't forget to declare external @fdset_template

Pavel Emelyanov xemul at parallels.com
Wed May 29 05:39:16 EDT 2013


On 05/29/2013 12:14 AM, Cyrill Gorcunov wrote:
> While being extracting common part of image descriptors to separate file
> this declaration escaped me.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  include/image-desc.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/image-desc.h b/include/image-desc.h
> index 36a6d46..1e1a2a0 100644
> --- a/include/image-desc.h
> +++ b/include/image-desc.h
> @@ -90,4 +90,6 @@ struct cr_fd_desc_tmpl {
>  	void		(*show)(int fd);
>  };
>  
> +extern struct cr_fd_desc_tmpl fdset_template[CR_FD_MAX];
> +
>  #endif /* __CR_IMAGE_DESC_H__ */
> 


applied


More information about the CRIU mailing list