mcctrl prepare_image: return reserve_user_space error
Change-Id: I00556cb58b12acca888f9512c144a3ce3f5332b1
This commit is contained in:
committed by
Dominique Martinet
parent
802b1ac14b
commit
689a799bb9
@@ -127,8 +127,8 @@ static long mcexec_prepare_image(ihk_os_t os,
|
|||||||
|
|
||||||
pdesc->pid = task_tgid_vnr(current);
|
pdesc->pid = task_tgid_vnr(current);
|
||||||
|
|
||||||
if (reserve_user_space(usrdata, &pdesc->user_start, &pdesc->user_end)) {
|
if ((ret = reserve_user_space(usrdata, &pdesc->user_start,
|
||||||
ret = -ENOMEM;
|
&pdesc->user_end))) {
|
||||||
goto put_and_free_out;
|
goto put_and_free_out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user