X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=compress_filter.c;h=119e01693a9accf7fcc788d3433c8edce4979a5e;hp=b488f55cb3ae2471201ab518ae84e3603ebcf005;hb=8e6dbbbcc1c2df879365017adaf29071b89780ed;hpb=027f2c1237051d2d569d6be7f381c886f659bac3 diff --git a/compress_filter.c b/compress_filter.c index b488f55c..119e0169 100644 --- a/compress_filter.c +++ b/compress_filter.c @@ -41,9 +41,9 @@ static void compress_close(struct filter_node *fn) free(fn->private_data); } -static int compress_post_select(__a_unused struct sched *s, struct task *t) +static int compress_post_select(__a_unused struct sched *s, void *context) { - struct filter_node *fn = container_of(t, struct filter_node, task); + struct filter_node *fn = context; struct private_compress_data *pcd = fn->private_data; struct btr_node *btrn = fn->btrn; bool inplace = btr_inplace_ok(btrn);