Commit 5e5783b4 authored by Pavel Emelyanov's avatar Pavel Emelyanov

remap: Initialize linked remaps to 0

With new remap refcount users will get the counter
eventually as they appear.

Reported-by: Andrew Vagin <avagin@parallels.com> via Jenkins
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 48b22f0d
......@@ -180,7 +180,7 @@ static int open_remap_linked(struct reg_file_info *rfi,
pr_info("Remapped %s -> %s\n", rfi->path, rrfi->path);
rm->path = rrfi->path;
rm->users = 1;
rm->users = 0;
rfi->remap = rm;
return 0;
}
......
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