summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/storage_file_util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/storage_file_util.cpp')
-rw-r--r--src/mongo/db/storage/storage_file_util.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/storage/storage_file_util.cpp b/src/mongo/db/storage/storage_file_util.cpp
index 6073acf89d0..96d0c8e7510 100644
--- a/src/mongo/db/storage/storage_file_util.cpp
+++ b/src/mongo/db/storage/storage_file_util.cpp
@@ -27,7 +27,6 @@
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kStorage
#include "mongo/db/storage/storage_file_util.h"
@@ -45,6 +44,9 @@
#include "mongo/logv2/log.h"
#include "mongo/util/file.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kStorage
+
+
namespace mongo {
Status fsyncFile(const boost::filesystem::path& path) {