]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crush/CrushWrapper: drop unused 'lean' encode() argument
authorSage Weil <sage@redhat.com>
Mon, 28 Nov 2016 19:35:24 +0000 (14:35 -0500)
committerSage Weil <sage@redhat.com>
Mon, 28 Nov 2016 19:35:24 +0000 (14:35 -0500)
No callers, no users.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 638a38bbb55c07ad0358a35a56418e66874d1c26)

Conflicts:
src/crush/CrushWrapper.h

[trivial conflict due to removal of write_file and read_file]

src/crush/CrushWrapper.cc
src/crush/CrushWrapper.h

index 3450b48fb8ff977b37b4d9c5b72c16bd4bfa4330..f254ac0336afcdcdba6a8e6916a4da8c85d6f217 100644 (file)
@@ -1118,7 +1118,7 @@ int CrushWrapper::remove_rule(int ruleno)
   return 0;
 }
 
-void CrushWrapper::encode(bufferlist& bl, bool lean) const
+void CrushWrapper::encode(bufferlist& bl) const
 {
   assert(crush);
 
index 9615d9e8d30f6451847752436dc9f81b5bb5fe00..7b6f94150ca3badf7ac680f5229d5547b058970b 100644 (file)
@@ -1136,7 +1136,7 @@ public:
     return bl.write_file(fn);
   }
 
-  void encode(bufferlist &bl, bool lean=false) const;
+  void encode(bufferlist &bl) const;
   void decode(bufferlist::iterator &blp);
   void decode_crush_bucket(crush_bucket** bptr, bufferlist::iterator &blp);
   void dump(Formatter *f) const;