Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
bake
Commits
b3a16897
Commit
b3a16897
authored
Jan 18, 2018
by
Matthieu Dorier
Browse files
corrected bug with target ids
parent
03f02ecd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bake-server.c
View file @
b3a16897
...
...
@@ -295,6 +295,10 @@ static void bake_create_ult(hg_handle_t handle)
goto
respond_with_error
;
}
hret
=
margo_get_input
(
handle
,
&
in
);
if
(
hret
!=
HG_SUCCESS
)
goto
respond_with_error
;
/* find the pmem pool */
bake_pmem_entry_t
*
entry
=
find_pmem_entry
(
svr_ctx
,
in
.
bti
);
if
(
entry
==
NULL
)
{
...
...
@@ -307,10 +311,6 @@ static void bake_create_ult(hg_handle_t handle)
memset
(
&
out
,
0
,
sizeof
(
out
));
hret
=
margo_get_input
(
handle
,
&
in
);
if
(
hret
!=
HG_SUCCESS
)
goto
respond_with_error
;
prid
=
(
pmemobj_region_id_t
*
)
out
.
rid
.
data
;
prid
->
size
=
in
.
region_size
;
/* find the pmem pool */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment