Removed temporary code for comparing mapping pairs size to older version

N2009_11_14_FIXES
jpandre 2009-03-02 20:17:34 +00:00
parent 571c057d05
commit 071b5f0cb8
1 changed files with 0 additions and 11 deletions

View File

@ -4393,17 +4393,6 @@ retry:
/* Get the size for the rest of mapping pairs array. */
mp_size = ntfs_get_size_for_mapping_pairs(na->ni->vol, stop_rl,
stop_vcn, exp_max_mp_size);
{ /* temporary compare against old computation
int old;
old = ntfs_get_size_for_mapping_pairs(na->ni->vol, na->rl,
stop_vcn, INT_MAX);
if (((mp_size <= exp_max_mp_size) || (old <= exp_max_mp_size))
&& (mp_size != old)) {
ntfs_log_error("Bad runlist size, old %d new %d\n",old,mp_size);
goto put_err_out;
}
*/}
if (mp_size <= 0) {
ntfs_log_perror("%s: get MP size failed", __FUNCTION__);
goto put_err_out;