From dbbdb34f1b0a90d2357ee1235f690298e862281a Mon Sep 17 00:00:00 2001 From: szaka Date: Wed, 23 Jan 2008 21:04:06 +0000 Subject: [PATCH] convert C++ style comments to C comments (Alon Bar-Lev) --- include/ntfs-3g/attrib.h | 1 - include/ntfs-3g/layout.h | 23 ++++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/ntfs-3g/attrib.h b/include/ntfs-3g/attrib.h index 3aeec198..7656bf16 100644 --- a/include/ntfs-3g/attrib.h +++ b/include/ntfs-3g/attrib.h @@ -303,7 +303,6 @@ extern int ntfs_attr_update_mapping_pairs(ntfs_attr *na, VCN from_vcn); extern int ntfs_attr_truncate(ntfs_attr *na, const s64 newsize); -// FIXME / TODO: Above here the file is cleaned up. (AIA) /** * get_attribute_value_length - return the length of the value of an attribute * @a: pointer to a buffer containing the attribute record diff --git a/include/ntfs-3g/layout.h b/include/ntfs-3g/layout.h index a3d0b27e..8670557e 100644 --- a/include/ntfs-3g/layout.h +++ b/include/ntfs-3g/layout.h @@ -2340,17 +2340,18 @@ typedef struct { control entry in the data part of the index. */ } __attribute__((__packed__)) key; - /* The (optional) index data is inserted here when creating. */ - // VCN vcn; If INDEX_ENTRY_NODE bit in ie_flags is set, the last - // eight bytes of this index entry contain the virtual - // cluster number of the index block that holds the - // entries immediately preceding the current entry. - // - // If the key_length is zero, then the vcn immediately - // follows the INDEX_ENTRY_HEADER. - // - // The address of the vcn of "ie" INDEX_ENTRY is given by - // (char*)ie + le16_to_cpu(ie->length) - sizeof(VCN) + /* The (optional) index data is inserted here when creating. + VCN vcn; If INDEX_ENTRY_NODE bit in ie_flags is set, the last + eight bytes of this index entry contain the virtual + cluster number of the index block that holds the + entries immediately preceding the current entry. + + If the key_length is zero, then the vcn immediately + follows the INDEX_ENTRY_HEADER. + + The address of the vcn of "ie" INDEX_ENTRY is given by + (char*)ie + le16_to_cpu(ie->length) - sizeof(VCN) + */ } __attribute__((__packed__)) INDEX_ENTRY; /**