From 54c35260288f2657302a4e535f21d36f452c2dab Mon Sep 17 00:00:00 2001 From: pathoswithin Date: Thu, 29 Dec 2016 11:12:15 +0000 Subject: [PATCH] ntfs small fix git-svn-id: svn://kolibrios.org@6820 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/fs/ntfs.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel/trunk/fs/ntfs.inc b/kernel/trunk/fs/ntfs.inc index 95cfb31fc9..f907befe00 100644 --- a/kernel/trunk/fs/ntfs.inc +++ b/kernel/trunk/fs/ntfs.inc @@ -2910,10 +2910,11 @@ resizeAttribute: shr edi, 5 shl edi, 2 push eax + cmp edi, [ebp+NTFS.BitmapStart] + jnc @f cmp [ebp+NTFS.cur_iRecord], 0 jz @f - cmp edi, [ebp+NTFS.BitmapStart] - jc .err1 + mov edi, [ebp+NTFS.BitmapStart] @@: call ntfsSpaceAlloc jc .err1