Hervé Poussineau f82d92bb02 vvfat: always create . and .. entries at first and in that order
readdir() doesn't always return . and .. entries at first and in that order.
This leads to not creating them at first in the directory, which raises some
errors on file system checking utilities like MS-DOS Scandisk.

Specification: "FAT: General overview of on-disk format" v1.03, page 25

Fixes: https://bugs.launchpad.net/qemu/+bug/1599539
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2017-07-10 13:18:05 +02:00
..
2017-07-10 13:18:05 +02:00
2016-10-07 14:14:06 +02:00
2016-10-07 14:14:06 +02:00
2017-06-26 14:51:14 +02:00
2017-07-10 13:18:05 +02:00
2017-07-04 14:30:03 +02:00
2017-06-22 11:34:39 +01:00
2016-11-25 13:51:30 +01:00
2016-06-07 18:19:24 +03:00
2016-01-20 13:36:23 +01:00
2017-06-20 14:31:31 +02:00
2017-05-17 12:04:59 +02:00
2016-09-23 11:42:52 +08:00
2017-05-17 12:04:59 +02:00
2017-05-17 12:04:59 +02:00
2017-07-10 13:18:05 +02:00