]> git.sur5r.net Git - bacula/bacula/commitdiff
kes Apply 2.2.4-poll-mount fix, that resolves bug ##908 where a tape
authorKern Sibbald <kern@sibbald.com>
Thu, 20 Sep 2007 06:55:43 +0000 (06:55 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 20 Sep 2007 06:55:43 +0000 (06:55 +0000)
     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

bacula/src/stored/dev.c
bacula/technotes-2.1

index 2e2f39088bf03d150995b1ba22e9156650b305dc..d858e387c528c93579c065fcc234f69c8e8e8b4d 100644 (file)
@@ -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;
index 5428cfb925013da25bb21e393c66219fcf336d5b..5609f97aea7e1121d2c01d35b24308b4315a9182 100644 (file)
@@ -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.