https://git.reactos.org/?p=reactos.git;a=commitdiff;h=268a139e6386a6c38302d…
commit 268a139e6386a6c38302d30d9a9289e07dd4ebc6
Author: Trevor Thompson <tmt256(a)email.vccs.edu>
AuthorDate: Wed Jul 13 09:26:04 2016 +0000
[NTFS]
UpdateFileRecord() - Remove fixup array before returning.
svn path=/branches/GSoC_2016/NTFS/; revision=71920
---
drivers/filesystems/ntfs/mft.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/filesystems/ntfs/mft.c b/drivers/filesystems/ntfs/mft.c
index aa203bbe9d..3ef8291a73 100644
--- a/drivers/filesystems/ntfs/mft.c
+++ b/drivers/filesystems/ntfs/mft.c
@@ -1084,6 +1084,9 @@ UpdateFileRecord(PDEVICE_EXTENSION Vcb,
DPRINT1("UpdateFileRecord failed: %I64u written, %u expected\n",
BytesWritten, Vcb->NtfsInfo.BytesPerFileRecord);
}
+ // remove the fixup array (so the file record pointer can still be used)
+ FixupUpdateSequenceArray(Vcb, file);
+
return Status;
}