X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=compress_filter.c;h=affb3d4ca9a1ab30155ead26511df789eca29206;hb=3cc5654fec9db630eac146f8475067228efe51ae;hp=b488f55cb3ae2471201ab518ae84e3603ebcf005;hpb=e58586b7395a84e5883b077d89b92c8ac649a1f2;p=paraslash.git 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);