[CRIU] [PATCH 7/7] mount: Rename get_widest_peer to find_widest_shared
Cyrill Gorcunov
gorcunov at openvz.org
Thu Sep 3 03:05:14 PDT 2015
It lookups over shared entries and finds widest.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
mount.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mount.c b/mount.c
index 776dbbfe19f9..89ef2af21e51 100644
--- a/mount.c
+++ b/mount.c
@@ -462,7 +462,7 @@ static int try_resolve_ext_mount(struct mount_info *info)
return 0;
}
-static struct mount_info *get_widest_peer(struct mount_info *m)
+static struct mount_info *find_widest_shared(struct mount_info *m)
{
struct mount_info *p;
@@ -534,7 +534,7 @@ static int validate_shared(struct mount_info *m)
* has the same set of children.
*/
- t = get_widest_peer(m);
+ t = find_widest_shared(m);
if (!t)
/*
* The current mount is the widest one in its shared group,
--
2.4.3
More information about the CRIU
mailing list