]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crush: fix grammar so we can recompile what we decompiled
authorSage Weil <sage@newdream.net>
Tue, 4 Aug 2009 17:22:39 +0000 (10:22 -0700)
committerSage Weil <sage@newdream.net>
Tue, 4 Aug 2009 22:33:36 +0000 (15:33 -0700)
src/crush/grammar.h

index 4cdaaf7d44ea79fbd0222006ec7ac514e6ac86a5..a9b7407c99b9f45d0d110e21aebda3cc9cb46b70 100644 (file)
@@ -114,7 +114,7 @@ struct crush_grammar : public grammar<crush_grammar>
                                step_chooseleaf |
                                step_emit );
       crushrule = str_p("rule") >> !name >> '{'
-                          >> str_p("pool") >> posint
+                          >> str_p("ruleset") >> posint
                           >> str_p("type") >> ( str_p("replicated") | str_p("raid4") )
                           >> str_p("min_size") >> posint
                           >> str_p("max_size") >> posint