/kernel/trunk/fs/ext.inc |
---|
2103,6 → 2103,7 |
push eax |
call ext_unlock |
pop eax |
@@: |
ret |
.volume: |
2116,6 → 2117,8 |
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 |
/kernel/trunk/fs/fat.inc |
---|
2921,6 → 2921,7 |
push eax |
call fat_unlock |
pop eax |
@@: |
ret |
.volume: |
2934,6 → 2935,8 |
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 |
@@: |
/kernel/trunk/fs/iso9660.inc |
---|
500,6 → 500,8 |
ret |
.volume: |
test eax, eax |
jz .size |
mov ecx, 16 |
mov esi, CDDataBuf+40 |
add edi, 40 |
538,6 → 540,7 |
xor eax, eax |
mov [edx+36], eax |
stosw |
mov byte [edx], 8 |
ret |
;----------------------------------------------------------------------------- |
/kernel/trunk/fs/ntfs.inc |
---|
1758,10 → 1758,10 |
;---------------------------------------------------------------- |
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,12 → 1775,10 |
.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 |
1787,6 → 1785,12 |
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 |