src/stored/vol_mgr.c
void init_vol_list_lock()
{
   int errstat;
   if ((errstat=rwl_init(&vol_list_lock, PRIO_SD_VOL_LIST)) != 0) {
      berrno be;
      Emsg1(M_ABORT, 0, _("Unable to initialize volume list lock. ERR=%s\n"),
            be.bstrerror(errstat));
   }
}
/*
 *  Initialized the main volume list. Note, we are using a recursive lock.
 */
Initialized the main volume list. Note, we are using a recursive lock.
Initialized the main volume list . Note we are using a recursive lock .
void init_vol_list_lock()
{
   int errstat;
   if ((errstat=rwl_init(&vol_list_lock, PRIO_SD_VOL_LIST)) != 0) {
      berrno be;
      Emsg1(M_ABORT, 0, _("Unable to initialize volume list lock. ERR=%s\n"),
            be.bstrerror(errstat));
   }
}
void init_vol_list_lock ( ) { int errstat ; if ( ( errstat = rwl_init ( & vol_list_lock , PRIO_SD_VOL_LIST ) ) != 0 ) { berrno be ; Emsg1 ( M_ABORT , 0 , _ ( " \n " ) , be . bstrerror ( errstat ) ) ; } }
Initialized the main volume list.
Initialized the main volume list .