ext fs fix

git-svn-id: svn://kolibrios.org@6809 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pathoswithin 2016-12-23 11:10:24 +00:00
parent 334c259808
commit 5d60fdc440

View File

@ -809,8 +809,8 @@ getInodeLocation:
mov ebx, [ebx+BGDESCR.inodeTable] mov ebx, [ebx+BGDESCR.inodeTable]
mov ecx, [ebp+EXTFS.sectorsPerBlockLog] mov ecx, [ebp+EXTFS.sectorsPerBlockLog]
shl ebx, cl shl ebx, cl
mov eax, edx movzx eax, [ebp+EXTFS.superblock.inodeSize]
mul [ebp+EXTFS.superblock.inodeSize] mul edx
mov edx, eax mov edx, eax
shr eax, 9 shr eax, 9
and edx, 511 and edx, 511