summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r--source4/lib/tdb/common/io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/lib/tdb/common/io.c b/source4/lib/tdb/common/io.c
index 4ec18de48e..661f761489 100644
--- a/source4/lib/tdb/common/io.c
+++ b/source4/lib/tdb/common/io.c
@@ -191,10 +191,6 @@ int tdb_munmap(struct tdb_context *tdb)
if (tdb->map_ptr) {
int ret;
- ret = msync(tdb->map_ptr, tdb->map_size, MS_SYNC);
- if (ret != 0)
- return ret;
-
ret = munmap(tdb->map_ptr, tdb->map_size);
if (ret != 0)
return ret;