save works
This commit is contained in:
parent
47fc32b02c
commit
43dc12a36c
19 changed files with 80 additions and 72 deletions
|
|
@ -376,14 +376,6 @@ int cluster_build_resources(cluster_t* c)
|
|||
if (res == NULL) {
|
||||
return -errno;
|
||||
}
|
||||
|
||||
if ((res->flags & XCE_RESF_GLOBAL) != 0) {
|
||||
res->idx = c->n_shared_res;
|
||||
c->n_shared_res++;
|
||||
} else {
|
||||
res->idx = c->n_host_res;
|
||||
c->n_host_res++;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue