Restart process after response from async driver on non-blocking select
This commit is contained in:
parent
344c18cf73
commit
36f9c1155a
@ -768,8 +768,7 @@ PUBLIC void select_reply1()
|
|||||||
fp->filp_select_flags &= ~FSF_BUSY;
|
fp->filp_select_flags &= ~FSF_BUSY;
|
||||||
if (!(fp->filp_select_flags & (FSF_UPDATE|FSF_BLOCK)))
|
if (!(fp->filp_select_flags & (FSF_UPDATE|FSF_BLOCK)))
|
||||||
fp->filp_select_ops= 0;
|
fp->filp_select_ops= 0;
|
||||||
if (status != 0)
|
|
||||||
{
|
|
||||||
if (status > 0)
|
if (status > 0)
|
||||||
{
|
{
|
||||||
/* Clear the replied bits from the request mask unless
|
/* Clear the replied bits from the request mask unless
|
||||||
@ -779,7 +778,7 @@ PUBLIC void select_reply1()
|
|||||||
fp->filp_select_ops &= ~status;
|
fp->filp_select_ops &= ~status;
|
||||||
}
|
}
|
||||||
filp_status(fp, status);
|
filp_status(fp, status);
|
||||||
}
|
|
||||||
if (fp->filp_count > 1)
|
if (fp->filp_count > 1)
|
||||||
fp->filp_count--;
|
fp->filp_count--;
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user