From 7898ac8783a6df1eb8ba65ef6dd2a1a6cba10168 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Sat, 11 Jul 2020 11:00:45 +0200 Subject: [PATCH] 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 --- src/os/bluestore/BlueFS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3