From: Kern Sibbald Date: Sun, 2 Dec 2007 18:03:17 +0000 (+0000) Subject: ebl Apply Richard Mortimer patch that fixes #1016 when there are more than X-Git-Tag: Release-2.2.7~25 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c866cab75d0a74cab5fdd661687b9b95b23c8d3e;p=bacula%2Fbacula ebl Apply Richard Mortimer patch that fixes #1016 when there are more than 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 --- diff --git a/bacula/src/stored/dev.c b/bacula/src/stored/dev.c index 6a5eb392ec..eebac478c5 100644 --- a/bacula/src/stored/dev.c +++ b/bacula/src/stored/dev.c @@ -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;