ntfs: handle MFT records that contain $ATTRIBUTE_LIST attribute
authorPaulo Alcantara <pcacjr@gmail.com>
Sat, 7 Jan 2012 00:39:28 +0000 (21:39 -0300)
committerPaulo Alcantara <pcacjr@gmail.com>
Sat, 11 Feb 2012 19:06:07 +0000 (16:06 -0300)
commit2716df8069f8df9cb9bbae2682fe089fadd8253f
tree44506a9dd078e6d99b9885674362416bc24ec166
parent86b7ff130d503d57273f9085c351316cec664ecb
ntfs: handle MFT records that contain $ATTRIBUTE_LIST attribute

MFT records that contain $ATTRIBUTE_LIST attributes, for example, are
those that there are many hards links, or the file itself is very
fragmented, and so on.

So when attributes of a MFT record that don't fit in a MFT record, those
will be stored in one or more MFT records and can be found through the
attribute list's entries of the MFT record being acessed, which are in
the $ATTRIBUTE_LIST attribute.

ntfs_attr_list_lookup() function will be called once we didn't find the
attribute within the MFT record itself so that the attribute will presumably
be stored in another MFT record, according to the information that has
been retrieved from the attribute list's entry.

Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
core/fs/ntfs/ntfs.c
core/fs/ntfs/ntfs.h