| 1393 | } |
| 1394 | |
| 1395 | static inline int dr_reload_data(int initial, const int is_inherit_state) |
| 1396 | { |
| 1397 | struct head_db *part; |
| 1398 | int ret_val = 0; |
| 1399 | |
| 1400 | for (part = head_db_start; part; part = part->next) |
| 1401 | if (dr_reload_data_head(part, &part->partition, initial, is_inherit_state) < 0) |
| 1402 | ret_val = -1; |
| 1403 | |
| 1404 | /* make the new list the main list used by qrouting */ |
| 1405 | lock_start_write(reload_lock); |
| 1406 | run_dr_cbs(DRCB_RLD_FINALIZE, NULL); |
| 1407 | lock_stop_write(reload_lock); |
| 1408 | |
| 1409 | return ret_val; |
| 1410 | } |
| 1411 | |
| 1412 | |
| 1413 | #define dr_fix_avp_def_w_default( _pv_spec, _avp_id, _default, _name) \ |
no test coverage detected