From 61afff5eba1130cceb204c58c461081d537b783a Mon Sep 17 00:00:00 2001 From: pathoswithin Date: Fri, 6 Jan 2017 12:42:17 +0000 Subject: [PATCH] ntfs: fix for minimal cluster size git-svn-id: svn://kolibrios.org@6824 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/fs/ntfs.inc | 2 ++ 1 file changed, 2 insertions(+) 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