diff options
author | Jeremy Allison <jra@samba.org> | 2008-09-05 15:32:22 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-09-05 15:32:22 -0700 |
commit | a90ba70cbf8af0d6081f6bb02cae71b955126c49 (patch) | |
tree | 6fc3837fdf9708614c99b334356bfb7196dcf691 | |
parent | beb19da53fc59bd3c09e9967dd243fd963b43382 (diff) | |
download | samba-a90ba70cbf8af0d6081f6bb02cae71b955126c49.tar.gz samba-a90ba70cbf8af0d6081f6bb02cae71b955126c49.tar.bz2 samba-a90ba70cbf8af0d6081f6bb02cae71b955126c49.zip |
Remove unecessary msync.
Jeremy.
(This used to be commit 0bae1ef3de8fda5e1e2d641b14a408e627396912)
-rw-r--r-- | source3/lib/tdb/common/io.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/tdb/common/io.c b/source3/lib/tdb/common/io.c index 4ec18de48e..661f761489 100644 --- a/source3/lib/tdb/common/io.c +++ b/source3/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; |