Merge branch 't/afh_receiver'
[paraslash.git] / file_write.c
index 32f6c3abdffdee58f8c4b49087c01b66c3909c1b..13008c2dd4dcce7850b7fdd508dea827790d1787 100644 (file)
@@ -110,7 +110,9 @@ static void file_write_post_select(__a_unused struct sched *s,
        char *buf;
        size_t bytes;
 
-       t->error = 0;
+       ret = task_get_notification(t);
+       if (ret < 0)
+               goto out;
        ret = btr_node_status(btrn, wn->min_iqs, BTR_NT_LEAF);
        if (ret <= 0)
                goto out;