[NTFS] - Restructure some code in preparation for the next commit:
authorTrevor Thompson <tmt256@email.vccs.edu>
Fri, 16 Jun 2017 05:43:52 +0000 (05:43 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 10 Dec 2017 10:14:29 +0000 (11:14 +0100)
commit1417f286e03dbb76ad9ddd99929fbfef5b789a68
treebffd4235743112e24dca6bb44f9f53098cf883a5
parent9dce6f4db1ec015588ccf7d5657693d5a0697390
[NTFS] - Restructure some code in preparation for the next commit:
-SetAttributeDataLength() has been split into two functions, SetNonResidentAttributeDataLength() and SetResidentAttributeDataLength(). This should improve code readibility and allows for resizing an attribute when there's no FileObject associated with it.
-Added "MftDataOffset" member to DEVICE_EXTENSION, which stores the offset of the Mft's $DATA attribute. (I'm starting to think it's better to add a member for offset to NTFS_ATTR_CONTEXT directly, but I'll save that level of restructuring for a future commit.)

svn path=/branches/GSoC_2016/NTFS/; revision=75055
drivers/filesystems/ntfs/fsctl.c
drivers/filesystems/ntfs/mft.c
drivers/filesystems/ntfs/ntfs.h