mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
Remove unecessary msync.
Jeremy. (cherry picked from commit0bae1ef3de
) (This used to be commitdb2acaf46f
)
This commit is contained in:
parent
b39e332bd7
commit
a1cf3ad5d6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user