]> git.sur5r.net Git - bacula/bacula/commitdiff
Update comments
authorKern Sibbald <kern@sibbald.com>
Thu, 10 Jan 2008 09:50:43 +0000 (09:50 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 10 Jan 2008 09:50:43 +0000 (09:50 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6267 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/dev.c

index 52d5d29614328023e964b5d137f2a00faee9748b..31b6f6ec4a49d36f7a27b3e98c2862c81ce53f57 100644 (file)
@@ -1855,6 +1855,10 @@ void DEVICE::close()
 
    /* Clean up device packet so it can be reused */
    clear_opened();
+   /*
+    * Be careful not to clear items needed by the DVD driver
+    *    when it is closing a single part.
+    */
    state &= ~(ST_LABEL|ST_READ|ST_APPEND|ST_EOT|ST_WEOT|ST_EOF|
               ST_MOUNTED|ST_MEDIA|ST_SHORT);
    label_type = B_BACULA_LABEL;