Print this page
4738 tape block number is set at wrong place
Reviewed by: Albert Lee <trisk@nexenta.com>
Approved by: Dan McDonald <danmcd@omniti.com>

*** 1132,1147 **** (void) cond_wait(&nlp->nlp_cv, &nlp->nlp_mtx); } (void) mutex_unlock(&nlp->nlp_mtx); ! if (session->ns_mover.md_state == NDMP_MOVER_STATE_ACTIVE) { ! session->ns_tape.td_record_count = 0; ! return (0); ! } ! ! return (-1); } /* * is_buffer_erroneous * --- 1132,1143 ---- (void) cond_wait(&nlp->nlp_cv, &nlp->nlp_mtx); } (void) mutex_unlock(&nlp->nlp_mtx); ! return ((session->ns_mover.md_state == NDMP_MOVER_STATE_ACTIVE) ? ! 0 : -1); } /* * is_buffer_erroneous *