From fe38ab8365dd4a6cc97aaa5e03d62b5e9e6bab5c Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 14 Mar 2011 15:55:37 +0000 Subject: [PATCH] Only call ntfs_fix_mmft if the attribute to find is AT_DATA. This matches GRUB's NTFS module. --- ntfsbs.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ntfsbs.S b/ntfsbs.S index 495b922..88b9180 100644 --- a/ntfsbs.S +++ b/ntfsbs.S @@ -819,6 +819,8 @@ ntfs_find_attr: orb $NT_FG_ALST, nt_flag testb $NT_FG_MMFT, nt_flag jz 6f + cmpb $AT_DATA, %al + jnz 6f call ntfs_fix_mmft 6: movw %bx, %si -- 2.11.4.GIT