The branch, v3-2-test has been updated
       via  d7eab4b20af47401d281dd672e012d4eb96e5f4a (commit)
      from  72865f5e4ff30861d58b928baaf7be3373301f37 (commit)

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


- Log -----------------------------------------------------------------
commit d7eab4b20af47401d281dd672e012d4eb96e5f4a
Author: Jeremy Allison <[EMAIL PROTECTED]>
Date:   Fri Sep 5 15:35:04 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

Reply via email to