[NTFS]
authorPierre Schweitzer <pierre@reactos.org>
Sun, 23 Nov 2014 14:07:08 +0000 (14:07 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 23 Nov 2014 14:07:08 +0000 (14:07 +0000)
commit950747c6d19b0a28665b542406afcf5e5fd6de66
treed52bad1ffae7e0e55f2ea2a589552050c7d4367e
parentc966e68f3b11ef73078922238ca2e1e77250f417
[NTFS]
- Implement GetBestFileNameFromRecord() which will select the higher subsystem name available (POSIX -> Win32 -> DOS) and return it
- Replace the hand-made implementation of it in dirctl functions relying on it (NtfsGetDirectoryInformation(), NtfsGetFullDirectoryInformation(), NtfsGetBothDirectoryInformation())
- Use it in NtfsMakeFCBFromDirEntry()

This fixes browsing POSIX volume (and opening file) in cmd. Even though, explorer doesn't seem to be happy with such change...
This doesn't fix yet the autocompletion in cmd either.

svn path=/trunk/; revision=65456
reactos/drivers/filesystems/ntfs/attrib.c
reactos/drivers/filesystems/ntfs/dirctl.c
reactos/drivers/filesystems/ntfs/fcb.c
reactos/drivers/filesystems/ntfs/ntfs.h