]> git.sur5r.net Git - bacula/bacula/commitdiff
Update kernstodo
authorKern Sibbald <kern@sibbald.com>
Fri, 26 Dec 2008 16:49:12 +0000 (16:49 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 26 Dec 2008 16:49:12 +0000 (16:49 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8255 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/kernstodo
bacula/src/stored/record.c

index d229aa5e2b11ae8baf71ad2eee28f0a0a681337e..045169612d21040498465860093acb4b1ae6c437 100644 (file)
@@ -72,6 +72,8 @@ Professional Needs:
 
 Priority:
 ================
+- Why no error message if restore has no permission on the where
+  directory?
 - Possibly allow manual "purge" to purge a Volume that has not
   yet been written (even if FirstWritten time is zero) see ua_purge.c
   is_volume_purged().
index d2a12e6cf9a5a78fa88c6e07220d1ec6ffce391b..c1582aa5c2a4e895981ec67ab697d9f96b06321c 100644 (file)
@@ -453,12 +453,9 @@ bool read_record_from_block(DCR *dcr, DEV_BLOCK *block, DEV_RECORD *rec)
    rec->state = 0;
    if (block->dev->is_tape()) {
       rec->state |= REC_ISTAPE;
-      rec->Block = block->BlockNumber;
-      rec->File = ((DEVICE *)block->dev)->file;
-   } else {
-      rec->Block = ((DEVICE *)block->dev)->EndBlock;
-      rec->File = ((DEVICE *)block->dev)->EndFile;
-   }   
+   }
+   rec->Block = ((DEVICE *)block->dev)->EndBlock;
+   rec->File = ((DEVICE *)block->dev)->EndFile;
 
    /*
     * Get the header. There is always a full header,