1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Remove unecessary msync.

Jeremy.
This commit is contained in:
Jeremy Allison 2008-09-05 15:36:59 -07:00
parent 05a80132ea
commit 2f509fdbed

View File

@ -192,10 +192,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;