The branch, v3-3-test has been updated
       via  24ea36f2c772468d4906145520b48f4857d4eeb7 (commit)
      from  c1fcc41bd96652b175b41421a5f6a9396c75e67f (commit)

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


- Log -----------------------------------------------------------------
commit 24ea36f2c772468d4906145520b48f4857d4eeb7
Author: Jeremy Allison <[EMAIL PROTECTED]>
Date:   Fri Sep 5 15:33:40 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