Commit 00be48d5 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

files-reg: Show ghost file name on error

| Can't open ghost file /tmp/file_aio.cRgOVJ.cr.169.ghost: File exists
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 781cf5d3
...@@ -101,7 +101,7 @@ static int open_remap_ghost(struct reg_file_info *rfi, ...@@ -101,7 +101,7 @@ static int open_remap_ghost(struct reg_file_info *rfi,
gfd = open(gf->remap.path, ghost_flags, gfe->mode); gfd = open(gf->remap.path, ghost_flags, gfe->mode);
if (gfd < 0) { if (gfd < 0) {
pr_perror("Can't open ghost file"); pr_perror("Can't open ghost file %s", gf->remap.path);
goto close_ifd; goto close_ifd;
} }
......
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