From: Kern Sibbald Date: Thu, 20 Sep 2007 06:55:43 +0000 (+0000) Subject: kes Apply 2.2.4-poll-mount fix, that resolves bug ##908 where a tape X-Git-Tag: Release-2.2.5~35 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=221e778072231b4f2b09ac9747eea0fd6c12ce23;p=bacula%2Fbacula kes Apply 2.2.4-poll-mount fix, that resolves bug ##908 where a tape is not properly mounted (recognized) during a poll. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@5597 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/dev.c b/bacula/src/stored/dev.c index 2e2f39088b..d858e387c5 100644 --- a/bacula/src/stored/dev.c +++ b/bacula/src/stored/dev.c @@ -1844,7 +1844,8 @@ 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); + 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); label_type = B_BACULA_LABEL; file = block_num = 0; file_size = 0; diff --git a/bacula/technotes-2.1 b/bacula/technotes-2.1 index 5428cfb925..5609f97aea 100644 --- a/bacula/technotes-2.1 +++ b/bacula/technotes-2.1 @@ -1,6 +1,9 @@ Technical notes on version 2.2 General: +20Sep07 +kes Apply 2.2.4-poll-mount fix, that resolves bug ##908 where a tape + is not properly mounted (recognized) during a poll. Release Version 2.2.4 14Sep07 kes Increase size of name string when FD making connection to SD.