Commit 50405ed
exit: abstract out should_wake helper for child_wait_callback()
Abstract out the helper that decides if we should wake up following
a wake_up() callback on our internal waitqueue.
No functional changes intended in this patch.
Acked-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
(cherry picked from commit 9d900d4)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>1 parent 59efbac commit 50405ed
1 file changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1529 | 1529 | | |
1530 | 1530 | | |
1531 | 1531 | | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
1532 | 1543 | | |
1533 | 1544 | | |
1534 | 1545 | | |
1535 | 1546 | | |
1536 | 1547 | | |
1537 | 1548 | | |
1538 | 1549 | | |
1539 | | - | |
1540 | | - | |
| 1550 | + | |
| 1551 | + | |
1541 | 1552 | | |
1542 | | - | |
1543 | | - | |
1544 | | - | |
1545 | | - | |
| 1553 | + | |
1546 | 1554 | | |
1547 | 1555 | | |
1548 | 1556 | | |
| |||
0 commit comments