[CRIU] [PATCH] files: Do not lost original errno value

Cyrill Gorcunov gorcunov at gmail.com
Wed Feb 1 02:47:46 PST 2017


On Wed, Feb 01, 2017 at 01:02:34PM +0300, Kirill Tkhai wrote:
> The callers of rfi_remap() are interested in a errno,
> linkat_hard() returns. So, preserve errno before we
> call rm_parent_dirs().
> 
> Reported-by: Cyrill Gorcunov <gorcunov at openvz.org>
> Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
Acked-by: Cyrill Gorcunov <gorcunov at openvz.org>



More information about the CRIU mailing list