]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
bluestore: fix typo in _flush function declaration
authorNathan Cutler <ncutler@suse.com>
Sat, 11 Jul 2020 09:00:45 +0000 (11:00 +0200)
committerNathan Cutler <ncutler@suse.com>
Sat, 11 Jul 2020 09:01:29 +0000 (11:01 +0200)
fab0c7148e84b1612e8e422e1876643a7cd4070b split BlueFS::_flush() into two
functions, each with a slightly different argument list. One of the
arguments is "bool force", but -- due to a typo -- it was declared as
"bool focce".

Fixes: fab0c7148e84b1612e8e422e1876643a7cd4070b
Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/os/bluestore/BlueFS.h

index ab366140190338c0bc47a0f615548c9004eb78b3..7271442f38b30aa8e493445fa40de98b1b612f57 100644 (file)
@@ -358,7 +358,7 @@ private:
                                 PExtentVector* extents);
 
   int _flush_range(FileWriter *h, uint64_t offset, uint64_t length);
-  int _flush(FileWriter *h, bool focce, std::unique_lock<ceph::mutex>& l);
+  int _flush(FileWriter *h, bool force, std::unique_lock<ceph::mutex>& l);
   int _flush(FileWriter *h, bool force, bool *flushed = nullptr);
   int _fsync(FileWriter *h, std::unique_lock<ceph::mutex>& l);