]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/stored.c
Move reservations message lock to lock jcr only this
[bacula/bacula] / bacula / src / stored / stored.c
index 8eff4fc49517cfd5af964dc7ed1e915da1d4803e..996f4fc358956d80e0708a4f7d0b0f2ffe6dca85 100644 (file)
@@ -555,7 +555,7 @@ void terminate_stored(int sig)
          set_jcr_job_status(jcr, JS_Canceled);
          fd = jcr->file_bsock;
          if (fd) {
-            fd->m_timed_out = true;
+            fd->set_timed_out();
             Dmsg1(100, "term_stored killing JobId=%d\n", jcr->JobId);
             pthread_kill(jcr->my_thread_id, TIMEOUT_SIGNAL);
             /* ***FIXME*** wiffle through all dcrs */