forked from KolibriOS/kolibrios
[xfs] Fix a file lookup bug in btree dirs
Literally, an off-by-one error. git-svn-id: svn://kolibrios.org@9890 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
06d05066a3
commit
679a138dd7
@ -1896,7 +1896,7 @@ proc xfs._.get_before_by_hashval uses ebx edx esi edi, _base, _count, _hash
|
|||||||
movbe eax, [ebx+xfs_da3_intnode.btree+ecx*sizeof.xfs_da_node_entry+xfs_da_node_entry.hashval]
|
movbe eax, [ebx+xfs_da3_intnode.btree+ecx*sizeof.xfs_da_node_entry+xfs_da_node_entry.hashval]
|
||||||
@@:
|
@@:
|
||||||
cmp eax, edi
|
cmp eax, edi
|
||||||
ja .node.leaf_found
|
jae .node.leaf_found
|
||||||
inc ecx
|
inc ecx
|
||||||
cmp ecx, edx
|
cmp ecx, edx
|
||||||
jnz .node.next
|
jnz .node.next
|
||||||
|
Loading…
Reference in New Issue
Block a user