X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=oss_write.c;h=20b05009d38b08c10b06b64ebf44777a9d5a803d;hb=d8213149049056e0cabbcbe575a10dfb1a83583e;hp=f8feb43a03e90ebba8f1bed2a1f5f0c292501d81;hpb=52781d7f50556c622fc1efacadec6759fb519450;p=paraslash.git diff --git a/oss_write.c b/oss_write.c index f8feb43a..20b05009 100644 --- a/oss_write.c +++ b/oss_write.c @@ -61,7 +61,7 @@ static void oss_pre_select_btr(struct sched *s, struct task *t) { struct writer_node *wn = container_of(t, struct writer_node, task); struct private_oss_write_data *powd = wn->private_data; - int ret = btr_node_status(wn->btrn, wn->min_iqs); + int ret = btr_node_status(wn->btrn, wn->min_iqs, BTR_NT_LEAF); t->error = 0; if (ret < 0) @@ -209,7 +209,7 @@ static void oss_post_select_btr(__a_unused struct sched *s, struct private_oss_write_data *powd = wn->private_data; struct btr_node *btrn = wn->btrn; size_t frames, bytes; - int ret = btr_node_status(btrn, wn->min_iqs); + int ret = btr_node_status(btrn, wn->min_iqs, BTR_NT_LEAF); char *data; if (ret < 0)