]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Apply Richard Mortimer patch that fixes #1016 when there are more than
authorKern Sibbald <kern@sibbald.com>
Sun, 2 Dec 2007 18:03:17 +0000 (18:03 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 2 Dec 2007 18:03:17 +0000 (18:03 +0000)
     one 'part' to write.  Instead of each part being stored on disk,
     written to DVD, then deleted from disk, all parts are written to disk,
     and only the last is written and deleted from disk.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@6011 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/dev.c

index 6a5eb392eca36ca0f45c4a74accf65fef0f89440..eebac478c573b977083d1373450a53992c3cc0f2 100644 (file)
@@ -1856,7 +1856,7 @@ void DEVICE::close()
    /* Clean up device packet so it can be reused */
    clear_opened();
    state &= ~(ST_LABEL|ST_READ|ST_APPEND|ST_EOT|ST_WEOT|ST_EOF|
-              ST_MOUNTED|ST_MEDIA|ST_SHORT|ST_FREESPACE_OK|ST_PART_SPOOLED);
+              ST_MOUNTED|ST_MEDIA|ST_SHORT);
    label_type = B_BACULA_LABEL;
    file = block_num = 0;
    file_size = 0;