Commit e42a486f authored by Pavel Emelyanov's avatar Pavel Emelyanov

files: Extend comment about "overlinked" files dump and restore

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent ce3b4aaa
...@@ -456,7 +456,13 @@ static int check_path_remap(char *rpath, int plen, const struct stat *ost, int l ...@@ -456,7 +456,13 @@ static int check_path_remap(char *rpath, int plen, const struct stat *ost, int l
return 0; return 0;
/* /*
* FIXME linked file, but the name we see it by is reused * FIXME linked file, but the name we see it by is reused
* by somebody else. * by somebody else. We can dump it with linked remaps, but
* we'll have difficulties on restore -- we will have to
* move the exisint file aside, then restore this one,
* unlink, then move the original file back. It's fairly
* easy to do, but we don't do it now, since unlinked files
* have the "(deleted)" suffix in proc and name conflict
* is unlikely :)
*/ */
pr_err("Unaccessible path opened %u:%u, need %u:%u\n", pr_err("Unaccessible path opened %u:%u, need %u:%u\n",
(int)pst.st_dev, (int)pst.st_ino, (int)pst.st_dev, (int)pst.st_ino,
......
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