]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/read_record.c
Server address binding + bscan updates -- see kes25Sep02
[bacula/bacula] / bacula / src / stored / read_record.c
index e78a2ee3c56b85f18b29d2f83d8a99720ffd9495..4720fce987206b1abad5d478a7bea1728ede3fa5 100644 (file)
@@ -67,6 +67,11 @@ int read_records(JCR *jcr,  DEVICE *dev,
            }
             Dmsg3(100, "After mount next vol. stat=%s blk=%d rem=%d\n", rec_state_to_str(rec), 
                  block->BlockNumber, rec->remainder);
+           /*
+            * We just have a new tape up, now read the label (first record)
+            *  and pass it off to the callback routine, then continue
+            *  most likely reading the previous record.
+            */
            record = new_record();
            read_block_from_device(dev, block);
            read_record_from_block(block, record);
@@ -218,4 +223,3 @@ static char *rec_state_to_str(DEV_RECORD *rec)
    }
    return buf;
 }
-