[SCM] Samba Shared Repository - branch v3-devel updated - release-3-2-0pre2-4041-g0bae1ef

Jeremy Allison jra at samba.org
Fri Sep 5 22:33:16 GMT 2008


The branch, v3-devel has been updated
       via  0bae1ef3de8fda5e1e2d641b14a408e627396912 (commit)
      from  2d95ea38a2f1ead37121fcc036c21a7f20ff41f9 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-devel


- Log -----------------------------------------------------------------
commit 0bae1ef3de8fda5e1e2d641b14a408e627396912
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Sep 5 15:32:22 2008 -0700

    Remove unecessary msync.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/lib/tdb/common/io.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/tdb/common/io.c b/source/lib/tdb/common/io.c
index 4ec18de..661f761 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;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list