Commit 31122183 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

file: More detailed error on cwd restore

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 5b8ee16c
......@@ -820,6 +820,7 @@ int prepare_fs(int pid)
cwd = open_reg_by_id(fe->cwd_id);
if (cwd < 0) {
pr_err("Can't open root %#x\n", fe->cwd_id);
close_safe(&ifd);
goto err;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment