[CRIU] [PATCH 16/21] pipes: Add missing curve braces to list_for_each_entry

Cyrill Gorcunov gorcunov at openvz.org
Wed Jun 6 18:21:56 EDT 2012


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 pipes.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pipes.c b/pipes.c
index 3094562..1359d7f 100644
--- a/pipes.c
+++ b/pipes.c
@@ -278,9 +278,10 @@ int collect_pipes(void)
 
 		file_desc_add(&pi->d, pi->pe.id, &pipe_desc_ops);
 
-		list_for_each_entry(tmp, &pipes, list)
+		list_for_each_entry(tmp, &pipes, list) {
 			if (pi->pe.pipe_id == tmp->pe.pipe_id)
 				break;
+		}
 
 		if (&tmp->list == &pipes)
 			INIT_LIST_HEAD(&pi->pipe_list);
-- 
1.7.7.6



More information about the CRIU mailing list