From 679064a95ff0f9f6fe3990cc898e8fb8ed148565 Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Sun, 1 Feb 2009 18:48:32 +0000 Subject: [PATCH] correct handling of '..' path on ramdisk git-svn-id: svn://kolibrios.org@1021 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/blkdev/rd.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/trunk/blkdev/rd.inc b/kernel/trunk/blkdev/rd.inc index 2635031033..2b6b49d12d 100644 --- a/kernel/trunk/blkdev/rd.inc +++ b/kernel/trunk/blkdev/rd.inc @@ -856,6 +856,10 @@ rd_find_lfn: mov [esp+8], eax mov dword [esp+4], ramdisk_notroot_first mov dword [esp], ramdisk_notroot_next + test eax, eax + jnz .loop + mov dword [esp+4], ramdisk_root_first + mov dword [esp], ramdisk_notroot_next jmp .loop .notfound: add esp, 12