vss: Fix com_jmp() and com_ff().
authorAndre Noll <maan@systemlinux.org>
Sun, 28 Sep 2008 10:50:48 +0000 (12:50 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 28 Sep 2008 10:50:48 +0000 (12:50 +0200)
We must not clear the VSS_REPOS flag in vss_send_chunk() as this
might cause the reposition request being ignored.

vss.c

diff --git a/vss.c b/vss.c
index f92e15e..f33b95a 100644 (file)
--- a/vss.c
+++ b/vss.c
@@ -418,7 +418,6 @@ static void vss_send_chunk(struct vss_task *vsst)
        if (chk_barrier("data send", &vsst->data_send_barrier,
                        &due, 1) < 0)
                return;
-       mmd->new_vss_status_flags &= ~VSS_REPOS;
        if (mmd->current_chunk >= mmd->afd.afhi.chunks_total) { /* eof */
                mmd->new_vss_status_flags |= VSS_NEXT;
                return;