File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1672,6 +1672,7 @@ kqueue_release(struct kqueue *kq, int locked)
1672
1672
KQ_UNLOCK (kq );
1673
1673
}
1674
1674
1675
+ #ifndef FSTACK
1675
1676
static void
1676
1677
kqueue_schedtask (struct kqueue * kq )
1677
1678
{
@@ -1685,6 +1686,7 @@ kqueue_schedtask(struct kqueue *kq)
1685
1686
kq -> kq_state |= KQ_TASKSCHED ;
1686
1687
}
1687
1688
}
1689
+ #endif
1688
1690
1689
1691
/*
1690
1692
* Expand the kq to make sure we have storage for fops/ident pair.
@@ -2221,7 +2223,11 @@ kqueue_wakeup(struct kqueue *kq)
2221
2223
kq -> kq_state &= ~KQ_SEL ;
2222
2224
}
2223
2225
if (!knlist_empty (& kq -> kq_sel .si_note ))
2226
+ #ifndef FSTACK
2224
2227
kqueue_schedtask (kq );
2228
+ #else
2229
+ KNOTE_UNLOCKED (& kq -> kq_sel .si_note , 0 );
2230
+ #endif
2225
2231
if ((kq -> kq_state & KQ_ASYNC ) == KQ_ASYNC ) {
2226
2232
pgsigio (& kq -> kq_sigio , SIGIO , 0 );
2227
2233
}
You can’t perform that action at this time.
0 commit comments