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)
16721672 KQ_UNLOCK (kq );
16731673}
16741674
1675+ #ifndef FSTACK
16751676static void
16761677kqueue_schedtask (struct kqueue * kq )
16771678{
@@ -1685,6 +1686,7 @@ kqueue_schedtask(struct kqueue *kq)
16851686 kq -> kq_state |= KQ_TASKSCHED ;
16861687 }
16871688}
1689+ #endif
16881690
16891691/*
16901692 * Expand the kq to make sure we have storage for fops/ident pair.
@@ -2221,7 +2223,11 @@ kqueue_wakeup(struct kqueue *kq)
22212223 kq -> kq_state &= ~KQ_SEL ;
22222224 }
22232225 if (!knlist_empty (& kq -> kq_sel .si_note ))
2226+ #ifndef FSTACK
22242227 kqueue_schedtask (kq );
2228+ #else
2229+ KNOTE_UNLOCKED (& kq -> kq_sel .si_note , 0 );
2230+ #endif
22252231 if ((kq -> kq_state & KQ_ASYNC ) == KQ_ASYNC ) {
22262232 pgsigio (& kq -> kq_sigio , SIGIO , 0 );
22272233 }
You can’t perform that action at this time.
0 commit comments