aboutsummaryrefslogtreecommitdiffhomepage
path: root/osdep/io.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-07-25 14:22:40 +0200
committerGravatar wm4 <wm4@nowhere>2014-07-25 14:32:45 +0200
commitf24f960ec78552da3d0b143c4fb88a732e8e9e11 (patch)
tree88bba8ec8be9380f275781b4b4d7622cc49c25b0 /osdep/io.c
parent08415933db8ede1ec27cb43654bc6fffdbd6ad93 (diff)
command: fix and simplify overlay_add
Actually free the old mmap region when readding an overlay of the same ID without removing it before. (This is explicitly documented as working.) Replace the OSD atomically. Before this commit, the overlays were removed and then readded to avoid synchronization problems. Simplify the code: now there is no weird mapping between index and ID. The OSD sub-bitmap list still needs to be prepared to skip unused IDs (since each sub-bitmap list entry must be in use), but the code for this is relatively separated now. Fixes issue #956.
Diffstat (limited to 'osdep/io.c')
0 files changed, 0 insertions, 0 deletions