Reviewed code in dentry.c and {read,write}_metadata_resource()
authorEric Biggers <ebiggers3@gmail.com>
Tue, 28 Aug 2012 01:13:20 +0000 (20:13 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 28 Aug 2012 01:13:20 +0000 (20:13 -0500)
commitd9d4b6b3e0462d3419bb8a9964b5da38a72da02f
treea9a45bafbe116f633a29a577eac41da00ff9e365
parent1dde5fb0d809f2f5e032e4d5241d1cb15ff3eb65
Reviewed code in dentry.c and {read,write}_metadata_resource()

- Added lots of comments.
- Fix writing the metadata resource when there is security data with length that
  isn't a multiple of 8 bytes.
- write_dentry_tree() is now a wrapper around write_dentry_tree_recursive(), the
  latter of which does not need to treat the root dentry specially.
src/dentry.c
src/dentry.h
src/ntfs-capture.c
src/resource.c