2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

mnt: Rename _collect_root into _get_root_fd

Nowadays this routine is mainly used for getting an
fd, rather than keeping one for future reference.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2014-04-23 01:38:58 +04:00
parent 20003300d8
commit 1435617c40
6 changed files with 10 additions and 10 deletions

View File

@@ -375,7 +375,7 @@ static int unix_collect_one(const struct unix_diag_msg *m,
if (ns == NULL)
return -1;
if (mntns_collect_root(ns->pid) < 0)
if (mntns_get_root_fd(ns->pid) < 0)
return -1;
d = xzalloc(sizeof(*d));