X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=compress_filter.c;h=14df8d966128556e32957749b91bdd225730b1c1;hb=d8213149049056e0cabbcbe575a10dfb1a83583e;hp=142ad899bfe175581fb36e8943a1f5011f43d3d6;hpb=d0f36435b0f81368a778fda33f3a7df86830f5ac;p=paraslash.git diff --git a/compress_filter.c b/compress_filter.c index 142ad899..14df8d96 100644 --- a/compress_filter.c +++ b/compress_filter.c @@ -103,7 +103,7 @@ static void compress_post_select(__a_unused struct sched *s, struct task *t) //inplace = false; next_buffer: t->error = 0; - ret = btr_node_status(btrn, fn->min_iqs); + ret = btr_node_status(btrn, fn->min_iqs, BTR_NT_INTERNAL); if (ret < 0) goto err; if (ret == 0) @@ -150,9 +150,8 @@ next_buffer: goto next_buffer; err: assert(ret < 0); - close_compress(fn); t->error = ret; - btr_del_node(btrn); + btr_remove_node(btrn); } /** TODO: Add sanity checks */