diff --git a/kernel/trunk/fs/ntfs.inc b/kernel/trunk/fs/ntfs.inc index f907befe00..0add6b4792 100644 --- a/kernel/trunk/fs/ntfs.inc +++ b/kernel/trunk/fs/ntfs.inc @@ -2083,6 +2083,8 @@ ntfs_CreateFile: mov eax, [ebp+NTFS.cur_subnode_size] cmp eax, [ebp+NTFS.cur_size] jnz @f + cmp [ebp+NTFS.sectors_per_cluster], 1 + jz @f mov al, 1 @@: mov [ebp+NTFS.fileDataSize], eax