X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fprotos.h;h=3f9913711c193376d27a342343a1c72cadc9e473;hb=8ec0de6a73f09501ee0d8da46a40d46b4c41d26a;hp=b26eb2a5c938bf644efb3e3f7dbaf88befe93be7;hpb=322cb260e2a68d5c1c133293c33b1229ca0fc5ad;p=bacula%2Fbacula diff --git a/bacula/src/stored/protos.h b/bacula/src/stored/protos.h index b26eb2a5c9..3f9913711c 100644 --- a/bacula/src/stored/protos.h +++ b/bacula/src/stored/protos.h @@ -235,7 +235,10 @@ extern int reservations_lock_count; do { Dmsg4(sd_dbglvl, "lock_reservations at %s:%d precnt=%d JobId=%u\n", \ __FILE__, __LINE__, \ reservations_lock_count, get_jobid_from_tid()); \ - _lock_reservations(); } while (0) + _lock_reservations(); \ + Dmsg1(sd_dbglvl, "lock_reservations: got lock JobId=%u\n", \ + get_jobid_from_tid()); \ + } while (0) #define unlock_reservations() \ do { Dmsg4(sd_dbglvl, "unlock_reservations at %s:%d precnt=%d JobId=%u\n", \ __FILE__, __LINE__, \ @@ -261,4 +264,4 @@ void list_spool_stats (void sendit(const char *msg, int len, void *s /* From wait.c */ int wait_for_sysop(DCR *dcr); -bool wait_for_device(JCR *jcr, bool first); +bool wait_for_device(JCR *jcr, int &retries);