summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-09-05 15:32:22 -0700
committerStefan Metzmacher <metze@samba.org>2008-09-14 19:20:09 +0200
commitdb2acaf46fdc38078b6b28b68909e289f6c9e0ec (patch)
tree989594bc479f27019bfbf07af62d517d3b95a744
parent8fd54bb55f0c23bd025d1719abcbe75c6a2ea8ac (diff)
downloadsamba-old-v4-0-test.tar.gz
Remove unecessary msync.old-v4-0-test
Jeremy. (cherry picked from commit 0bae1ef3de8fda5e1e2d641b14a408e627396912)
-rw-r--r--source/lib/tdb/common/io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/lib/tdb/common/io.c b/source/lib/tdb/common/io.c
index 4ec18de48e0..661f7614892 100644
--- a/source/lib/tdb/common/io.c
+++ b/source/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;