[FREELDR] Fix remaining hwdisk and FATX bugs (#1766)
authorStanislav Motylkov <x86corez@gmail.com>
Mon, 29 Jul 2019 22:27:36 +0000 (01:27 +0300)
committerHermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Mon, 29 Jul 2019 22:27:36 +0000 (00:27 +0200)
commitef76709b3d2d376ed4747f337759383bc40a433c
tree02fd95845492b2133be63b8812fbae671a7a330a
parent48200015f7223e8cc98c8a6e03cbce9db23aa57c
[FREELDR] Fix remaining hwdisk and FATX bugs (#1766)

- DiskGetFileInformation() should return relative addresses -- relative to the beginning of the "device" (partition, or disk) in question.
- FatXSearchDirectoryBufferForFile() should assign file attributes.
- Minor code style improvements in FatOpenVolume().

CORE-16216 CORE-16248

Co-authored-by: Victor Perevertkin <victor@perevertkin.ru>
boot/freeldr/freeldr/arch/i386/hwdisk.c
boot/freeldr/freeldr/lib/fs/fat.c