graph: fix missing else
authorJens Axboe <axboe@kernel.dk>
Thu, 22 Mar 2012 08:33:33 +0000 (09:33 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 22 Mar 2012 08:33:33 +0000 (09:33 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
graph.c

diff --git a/graph.c b/graph.c
index 1f3344fda274d534e1e0fe9ac56a116752178db5..146ed7b148d9c7594c0002be5cfff0884896c888 100644 (file)
--- a/graph.c
+++ b/graph.c
@@ -800,7 +800,7 @@ static void graph_label_add_value(struct graph_label *i, void *value,
 
                        alias = container_of(ret, struct graph_value, node);
                        flist_add_tail(&x->alias, &alias->alias);
-               }
+               } else
                        x->flags = GV_F_ON_PRIO;
        }