X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=oss_write.c;h=c1717eb868cf6757e0aa447e9d6353273a47d89e;hp=4e5f9b5626c2400f310647cf8805e141f98e983d;hb=f1401e9c2d74154a81d16e2d1a2413e7125abb15;hpb=c282c836791cedf57c128555af90af37c7c01c05 diff --git a/oss_write.c b/oss_write.c index 4e5f9b56..c1717eb8 100644 --- a/oss_write.c +++ b/oss_write.c @@ -249,6 +249,8 @@ static void oss_post_select_btr(__a_unused struct sched *s, ret = 0; out: t->error = ret; + if (ret < 0) + btr_remove_node(btrn); } static int oss_open(struct writer_node *wn)