[FASTFAT] While closing FCBs on dismount, release from tail to head and not the contrary.
authorPierre Schweitzer <pierre@reactos.org>
Sun, 17 Dec 2017 17:21:51 +0000 (18:21 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 17 Dec 2017 17:24:01 +0000 (18:24 +0100)
commit64bc96558e878cc91da148ec5892a7e2bf58e052
tree2fb61c1b0dd2634966fd28f78c23fe70d8932106
parentde0368614814293c40517551911c0057bde7dfed
[FASTFAT] While closing FCBs on dismount, release from tail to head and not the contrary.
It fixes assertion failure in vfatDestroyFCB() where we would have release parent before child.
This is still not perfect, but less bug prone...

With this commits (and ENABLE_SWAPOUT defined), ReactOS seems to unmount FAT volumes quite nice! :-)
(Tried with fsutil volume dismount X:)
drivers/filesystems/fastfat/fsctl.c