[CRIU] [PATCH] Get rid of " (deleted)" in symlink pathnames

Pavel Emelyanov xemul at parallels.com
Mon Jan 19 02:04:14 PST 2015


On 01/16/2015 11:45 PM, Saied Kazemi wrote:
> The kernel (see fs/dcache.c) appends the string " (deleted)" to a deleted
> dentry pathname.  We need to remove the string when reading a symlink
> that contains it (e.g., symlinks in /proc/<pid>/map_files).

Saied, in which function (or calltrace) do you see the "(deleted)" suffix?
We tried to address this, we have a function called strip_deleted() which
does exactly this, but it looks like we haven't fixed all the cases where 
this suffix appears.

> Signed-off-by: Saied Kazemi <saied at google.com>

Thanks,
Pavel



More information about the CRIU mailing list