forked from KolibriOS/kolibrios
ntfs: fix for minimal cluster size
git-svn-id: svn://kolibrios.org@6824 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
48916984b1
commit
61afff5eba
@ -2083,6 +2083,8 @@ ntfs_CreateFile:
|
|||||||
mov eax, [ebp+NTFS.cur_subnode_size]
|
mov eax, [ebp+NTFS.cur_subnode_size]
|
||||||
cmp eax, [ebp+NTFS.cur_size]
|
cmp eax, [ebp+NTFS.cur_size]
|
||||||
jnz @f
|
jnz @f
|
||||||
|
cmp [ebp+NTFS.sectors_per_cluster], 1
|
||||||
|
jz @f
|
||||||
mov al, 1
|
mov al, 1
|
||||||
@@:
|
@@:
|
||||||
mov [ebp+NTFS.fileDataSize], eax
|
mov [ebp+NTFS.fileDataSize], eax
|
||||||
|
Loading…
Reference in New Issue
Block a user