[CRIU] [PATCH 1/5] mount: fix confusing naming

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Mon Mar 20 02:45:40 PDT 2017


s/find_widest_shared/find_wider_shared/

https://jira.sw.ru/browse/PSBM-46753
Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
---
 criu/mount.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/criu/mount.c b/criu/mount.c
index 147001b..589dd58 100644
--- a/criu/mount.c
+++ b/criu/mount.c
@@ -509,7 +509,7 @@ static int try_resolve_ext_mount(struct mount_info *info)
 	return 0;
 }
 
-static struct mount_info *find_widest_shared(struct mount_info *m)
+static struct mount_info *find_wider_shared(struct mount_info *m)
 {
 	struct mount_info *p;
 
@@ -560,7 +560,7 @@ static int validate_shared(struct mount_info *m)
 	 *    has the same set of children.
 	 */
 
-	t = find_widest_shared(m);
+	t = find_wider_shared(m);
 	if (!t)
 		/*
 		 * The current mount is the widest one in its shared group,
-- 
2.9.3



More information about the CRIU mailing list