ntfs_dump_index_entries(): cleanup subnode VCN calculation

edge.strict_endians
szaka 2006-08-13 18:51:55 +00:00
parent 2daa9f3c94
commit 074b025366
1 changed files with 1 additions and 2 deletions

View File

@ -1413,8 +1413,7 @@ static int ntfs_dump_index_entries(INDEX_ENTRY *entry, INDEX_ATTR_TYPE type)
if (entry->flags & INDEX_ENTRY_NODE)
ntfs_log_verbose("\t\tSubnode VCN:\t\t 0x%llx\n",
sle64_to_cpu(*(VCN*)((u8*)entry +
le16_to_cpu(entry->length) - sizeof(VCN))));
ntfs_ie_get_vcn(entry);
if (entry->flags & INDEX_ENTRY_END)
break;