[NTFS] - Fix some more issues, including remaining issues marked as "unresolved"...
authorTrevor Thompson <tmt256@email.vccs.edu>
Tue, 18 Jul 2017 19:59:36 +0000 (19:59 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 10 Dec 2017 10:15:01 +0000 (11:15 +0100)
commit935fcd1b353a65d3af01e3f9061d3784f759cdbc
tree988c5ac5367b3c976b1069711548d3304dcda548
parent430ce0a9e395ba1f98e4417bd14286dd9eeac552
[NTFS] - Fix some more issues, including remaining issues marked as "unresolved" from CR-123:
-Add define for indexed flag for resident attributes, RA_INDEXED.
-CreateBTreeFromIndex() - Don't try to read index entries beyond attribute length.
-Move NtfsAddFileNameToDirectory() from dirctl.c to mft.c (no changes to function).
-SetResidentAttributeDataLength() - Don't try to free AttribData if it hasn't been allocated. Cast IndexRecord to PUCHAR for WriteAttribute(), and cast BitmapData to PCHAR for ReadAttribute() (make gcc happy).
-Replace magic number 16 with a define, NTFS_FILE_FIRST_USER_FILE.

svn path=/branches/GSoC_2016/NTFS/; revision=75371
drivers/filesystems/ntfs/attrib.c
drivers/filesystems/ntfs/btree.c
drivers/filesystems/ntfs/create.c
drivers/filesystems/ntfs/dirctl.c
drivers/filesystems/ntfs/mft.c
drivers/filesystems/ntfs/ntfs.h