check_wav_pre_select(s, wt->cwc);
}
-static void write_post_select(__a_unused struct sched *s, struct task *t)
+static int write_post_select(__a_unused struct sched *s, struct task *t)
{
struct write_task *wt = container_of(t, struct write_task, task);
- t->error = check_wav_post_select(wt->cwc);
+ return check_wav_post_select(wt->cwc);
}
static int setup_and_schedule(void)
struct write_task wt = {
.task = {
.pre_select = write_pre_select,
- .post_select = write_post_select,
+ .new_post_select = write_post_select,
.status = "write task",
},
};