[NTFS]
authorTrevor Thompson <tmt256@email.vccs.edu>
Wed, 13 Jul 2016 09:26:04 +0000 (09:26 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 10 Dec 2017 10:13:58 +0000 (11:13 +0100)
UpdateFileRecord() - Remove fixup array before returning.

svn path=/branches/GSoC_2016/NTFS/; revision=71920

drivers/filesystems/ntfs/mft.c

index aa203bb..3ef8291 100644 (file)
@@ -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;
 }