ntfs_mapping_pairs_decompress for highest_vcn == 0.

(Logical change 1.479)
edge.strict_endians
cantab.net!aia21 2004-08-05 21:28:14 +00:00
parent 4dce86efe3
commit 01e060874b
1 changed files with 2 additions and 2 deletions

View File

@ -885,7 +885,7 @@ mpa_err:
goto err_out;
}
/* Setup not mapped runlist element if this is the base extent. */
if (!attr->lowest_vcn) {
if (deltaxcn && !attr->lowest_vcn) {
VCN max_cluster;
max_cluster = (sle64_to_cpu(attr->allocated_size) +
@ -896,7 +896,7 @@ mpa_err:
* highest cluster, the runlist is either corrupt or, more
* likely, there are more extents following this one.
*/
if (deltaxcn && deltaxcn < --max_cluster) {
if (deltaxcn < --max_cluster) {
Dprintf("More extents to follow; deltaxcn = 0x%llx, "
"max_cluster = 0x%llx\n",
(long long)deltaxcn,