git.samba.org
/
jelmer
/
samba3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beb19da
)
Remove unecessary msync.
author
Jeremy Allison
<jra@samba.org>
Fri, 5 Sep 2008 22:32:22 +0000
(15:32 -0700)
committer
Jeremy Allison
<jra@samba.org>
Fri, 5 Sep 2008 22:32:22 +0000
(15:32 -0700)
Jeremy.
(This used to be commit
0bae1ef3de8fda5e1e2d641b14a408e627396912
)
source3/lib/tdb/common/io.c
patch
|
blob
|
history
diff --git
a/source3/lib/tdb/common/io.c
b/source3/lib/tdb/common/io.c
index 4ec18de48e043cd1e764dd9053922fc257d9404c..661f76148927bd7fcbb5c664d882ac2d2f28ae27 100644
(file)
--- 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;