summaryrefslogtreecommitdiffstats
path: root/source/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-09-05 15:35:04 -0700
committerKarolin Seeger <kseeger@samba.org>2008-09-08 11:26:20 +0200
commitd3db59a5b171e9bb9662199699722a7a3a9f0a57 (patch)
tree144a606ccb2e14dcc7f0ba87fd55d2f14823966d /source/lib
parent4231a5dc6b132c629adf5378d51000fe5ed30e60 (diff)
downloadsamba-d3db59a5b171e9bb9662199699722a7a3a9f0a57.tar.gz
samba-d3db59a5b171e9bb9662199699722a7a3a9f0a57.tar.xz
samba-d3db59a5b171e9bb9662199699722a7a3a9f0a57.zip
Remove unecessary msync.
Jeremy. (cherry picked from commit d7eab4b20af47401d281dd672e012d4eb96e5f4a)
Diffstat (limited to 'source/lib')
-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;