diff options
author | Jeremy Allison <jra@samba.org> | 2008-09-05 15:32:22 -0700 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-09-14 19:20:09 +0200 |
commit | a1cf3ad5d655cf5a847df6d6299b3af1a30ec1e3 (patch) | |
tree | 42ed6582e5ba1d92adbbd1e5383c15dee37fd367 /source4/lib/tdb/common | |
parent | b39e332bd7803dd4ce8267f750c497b5deb837ee (diff) | |
download | samba-a1cf3ad5d655cf5a847df6d6299b3af1a30ec1e3.tar.gz samba-a1cf3ad5d655cf5a847df6d6299b3af1a30ec1e3.tar.bz2 samba-a1cf3ad5d655cf5a847df6d6299b3af1a30ec1e3.zip |
Remove unecessary msync.
Jeremy.
(cherry picked from commit 0bae1ef3de8fda5e1e2d641b14a408e627396912)
(This used to be commit db2acaf46fdc38078b6b28b68909e289f6c9e0ec)
Diffstat (limited to 'source4/lib/tdb/common')
-rw-r--r-- | source4/lib/tdb/common/io.c | 4 |
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; |