From 5d60fdc440b5b95393b8f9a8ab682d54b42e461e Mon Sep 17 00:00:00 2001 From: pathoswithin Date: Fri, 23 Dec 2016 11:10:24 +0000 Subject: [PATCH] ext fs fix git-svn-id: svn://kolibrios.org@6809 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/fs/ext.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/trunk/fs/ext.inc b/kernel/trunk/fs/ext.inc index 3e5a32acb6..fc3baaa158 100644 --- a/kernel/trunk/fs/ext.inc +++ b/kernel/trunk/fs/ext.inc @@ -809,8 +809,8 @@ getInodeLocation: mov ebx, [ebx+BGDESCR.inodeTable] mov ecx, [ebp+EXTFS.sectorsPerBlockLog] shl ebx, cl - mov eax, edx - mul [ebp+EXTFS.superblock.inodeSize] + movzx eax, [ebp+EXTFS.superblock.inodeSize] + mul edx mov edx, eax shr eax, 9 and edx, 511