summaryrefslogtreecommitdiffstats
path: root/memfilepersistence
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-06-06 22:13:24 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-06-07 09:50:24 +0200
commit777943d3194383ab5492b285ae83dc3e92328514 (patch)
tree3a98819d239df0f943056f9196170351385a34f3 /memfilepersistence
parent0b37a1b9eecf9b38310bde4a11c01a7962234450 (diff)
Do not provide unnecessary fastos/mutex.h by default.
Diffstat (limited to 'memfilepersistence')
-rw-r--r--memfilepersistence/src/vespa/memfilepersistence/device/devicemapper.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/memfilepersistence/src/vespa/memfilepersistence/device/devicemapper.cpp b/memfilepersistence/src/vespa/memfilepersistence/device/devicemapper.cpp
index 8ddf215d616..fdecb38ccf0 100644
--- a/memfilepersistence/src/vespa/memfilepersistence/device/devicemapper.cpp
+++ b/memfilepersistence/src/vespa/memfilepersistence/device/devicemapper.cpp
@@ -5,13 +5,12 @@
#include <vespa/vespalib/util/exceptions.h>
#include <fstream>
#include <sstream>
+#include <sys/stat.h>
#include <vespa/log/log.h>
LOG_SETUP(".persistence.devicemapper");
-namespace storage {
-
-namespace memfile {
+namespace storage::memfile {
namespace {
uint64_t getDevice(const std::string& path) {
@@ -95,5 +94,3 @@ AdvancedDeviceMapper::getPartitionId(const std::string& fileOnFS) const
}
}
-
-} // storage