X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=compress_filter.c;h=affb3d4ca9a1ab30155ead26511df789eca29206;hp=b488f55cb3ae2471201ab518ae84e3603ebcf005;hb=33d9e48b9ebe11858e4fd208196c419b72db7f6d;hpb=42ddd68159d7eff0f3e7c225665c97f9abd59425 diff --git a/compress_filter.c b/compress_filter.c index b488f55c..affb3d4c 100644 --- a/compress_filter.c +++ b/compress_filter.c @@ -43,7 +43,7 @@ static void compress_close(struct filter_node *fn) static int compress_post_select(__a_unused struct sched *s, struct task *t) { - struct filter_node *fn = container_of(t, struct filter_node, task); + struct filter_node *fn = task_context(t); struct private_compress_data *pcd = fn->private_data; struct btr_node *btrn = fn->btrn; bool inplace = btr_inplace_ok(btrn);