Commit 675a84fb authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

mount: Rename get_widest_peer to find_widest_shared

It lookups over shared entries and finds widest.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent f7d55032
......@@ -449,7 +449,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;
......@@ -520,7 +520,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,
......
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