sysfunction 70.5: small change

git-svn-id: svn://kolibrios.org@6876 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pathoswithin
2017-03-07 16:28:02 +00:00
parent b27bd68162
commit 45aee00e6b
6 changed files with 21 additions and 6 deletions

View File

@@ -2103,6 +2103,7 @@ ext_GetFileInfo:
push eax
call ext_unlock
pop eax
@@:
ret
.volume:
@@ -2116,6 +2117,8 @@ ext_GetFileInfo:
mov eax, [ebx+8]
mov byte [edi], 8
mov [edi+4], eax
test eax, eax
jz @b
lea esi, [ebp+EXTFS.superblock.volumeLabel]
mov ecx, 16
add edi, 40

View File

@@ -2921,6 +2921,7 @@ fat_GetFileInfo:
push eax
call fat_unlock
pop eax
@@:
ret
.volume:
@@ -2934,6 +2935,8 @@ fat_GetFileInfo:
mov eax, [ebx+8]
mov byte [edi], 8
mov [edi+4], eax
test eax, eax
jz @b
lea esi, [ebp+FAT.volumeLabel]
mov ecx, 11
@@:

View File

@@ -500,6 +500,8 @@ fs_CdGetFileInfo:
ret
.volume:
test eax, eax
jz .size
mov ecx, 16
mov esi, CDDataBuf+40
add edi, 40
@@ -538,6 +540,7 @@ fs_CdGetFileInfo:
xor eax, eax
mov [edx+36], eax
stosw
mov byte [edx], 8
ret
;-----------------------------------------------------------------------------

View File

@@ -1758,10 +1758,10 @@ ntfs_datetime_to_bdfe:
;----------------------------------------------------------------
ntfs_GetFileInfo:
call ntfs_lock
mov edi, [ebx+16]
cmp byte [esi], 0
jz .volume
call ntfs_lock
call ntfs_find_lfn
jnc .found
test eax, eax
@@ -1775,18 +1775,22 @@ ntfs_GetFileInfo:
.end:
call ntfs_unlock
xor eax, eax
@@:
ret
.volume:
mov byte [edi], 8
mov eax, [ebx+8]
mov [edi+4], eax
mov eax, dword [ebp+NTFS.Length]
mov edx, dword [ebp+NTFS.Length+4]
shld edx, eax, 9
shl eax, 9
mov [edi+36], edx
mov [edi+32], eax
mov eax, [ebx+8]
mov byte [edi], 8
mov [edi+4], eax
test eax, eax
jz @b
call ntfs_lock
add edi, 40
mov [ebp+NTFS.cur_buf], edi
mov [ebp+NTFS.cur_iRecord], 3