[CRIU] [PATCH 1/7] mount: Fix comment style

Cyrill Gorcunov gorcunov at openvz.org
Thu Sep 3 03:05:08 PDT 2015


We don't use C99 comments.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 mount.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/mount.c b/mount.c
index 45c54685051e..a4e272341ed2 100644
--- a/mount.c
+++ b/mount.c
@@ -667,8 +667,10 @@ static int validate_mounts(struct mount_info *info, bool for_dump)
 				int ret;
 
 				if (for_dump) {
-					// We've already resolved the mount
-					// and it is external.
+					/*
+					 * We've already resolved the mount
+					 * and it is external.
+					 */
 					if (m->external) {
 						ret = 0;
 					} else {
@@ -930,8 +932,10 @@ static int collect_shared(struct mount_info *info, bool for_dump)
 			}
 		}
 
-		// If we haven't already determined this mount is external,
-		// then we don't know where it came from.
+		/*
+		 * If we haven't already determined this mount is external,
+		 * then we don't know where it came from.
+		 */
 		if (need_master && m->parent && !m->external) {
 			pr_err("Mount %d %s (master_id: %d shared_id: %d) "
 			       "has unreachable sharing. Try --enable-external-masters.\n", m->mnt_id,
-- 
2.4.3



More information about the CRIU mailing list