From: Nathan Cutler Date: Sat, 11 Jul 2020 09:00:45 +0000 (+0200) Subject: bluestore: fix typo in _flush function declaration X-Git-Tag: v16.1.0~1731^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7898ac8783a6df1eb8ba65ef6dd2a1a6cba10168;p=ceph.git bluestore: fix typo in _flush function declaration 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 --- diff --git a/src/os/bluestore/BlueFS.h b/src/os/bluestore/BlueFS.h index ab3661401903..7271442f38b3 100644 --- a/src/os/bluestore/BlueFS.h +++ b/src/os/bluestore/BlueFS.h @@ -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& l); + int _flush(FileWriter *h, bool force, std::unique_lock& l); int _flush(FileWriter *h, bool force, bool *flushed = nullptr); int _fsync(FileWriter *h, std::unique_lock& l);