negative error code for ECHILD
This commit is contained in:
@ -306,7 +306,7 @@ rescan:
|
|||||||
|
|
||||||
if (empty) {
|
if (empty) {
|
||||||
ihk_mc_spinlock_unlock_noirq(&proc->ftn->lock);
|
ihk_mc_spinlock_unlock_noirq(&proc->ftn->lock);
|
||||||
return ECHILD;
|
return -ECHILD;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (child) {
|
if (child) {
|
||||||
|
|||||||
Reference in New Issue
Block a user