From 4b55541f4c590206e143785a8e5b0c7789088f86 Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Wed, 27 Feb 2013 10:52:48 +0000 Subject: [PATCH] fix return value of disk_sync in compatibility case git-svn-id: svn://kolibrios.org@3283 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/blkdev/disk_cache.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/blkdev/disk_cache.inc b/kernel/trunk/blkdev/disk_cache.inc index 496a6f9e3b..b42cac62a2 100644 --- a/kernel/trunk/blkdev/disk_cache.inc +++ b/kernel/trunk/blkdev/disk_cache.inc @@ -629,7 +629,9 @@ disk_sync: mov [hdd_appl_data], 0 call write_cache mov [hdd_appl_data], 1 - jmp write_cache + call write_cache + mov eax, [hd_status] + ret @@: ; The algorithm is straightforward. push esi