forked from KolibriOS/kolibrios
disk_sync now flushes both caches even in compatibility mode
git-svn-id: svn://kolibrios.org@2653 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
63be312755
commit
6ea08a8bb3
@ -608,7 +608,12 @@ disk_sync:
|
||||
; Compatibility hack: if PARTITION.Disk is 'old', there is no DISK structure,
|
||||
; this request should be processed by write_cache.
|
||||
cmp esi, 'old'
|
||||
jz write_cache
|
||||
jnz @f
|
||||
mov [hdd_appl_data], 0
|
||||
call write_cache
|
||||
mov [hdd_appl_data], 1
|
||||
jmp write_cache
|
||||
@@:
|
||||
; The algorithm is straightforward.
|
||||
push esi
|
||||
push esi ; for second write_cache64
|
||||
|
Loading…
Reference in New Issue
Block a user