From 353e9575f00d6b967021829f5878abf19c95e3c2 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 6 Oct 2008 11:04:20 -0700 Subject: [PATCH] crush: fix grammar --- src/crush/grammar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crush/grammar.h b/src/crush/grammar.h index cfd34cf82bf58..fbedaa7a162f2 100644 --- a/src/crush/grammar.h +++ b/src/crush/grammar.h @@ -102,7 +102,7 @@ struct crush_grammar : public grammar bucket = name >> name >> '{' >> !bucket_id >> bucket_alg >> *bucket_item >> '}'; // rules - step_take = str_p("take") >> str_p("root"); + step_take = str_p("take") >> name; step_choose = str_p("choose") >> ( str_p("indep") | str_p("firstn") ) >> integer -- 2.39.5