From 7b20f3f9b6e77a21dc66ba6d4037a90e857ccb4c Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 26 Jun 2010 12:57:06 +0200 Subject: [PATCH] oss_write: Add missing btr_merge(). Without this patch, the oss writer could detect an EOF condition even if more data is available. --- oss_write.c | 1 + 1 file changed, 1 insertion(+) diff --git a/oss_write.c b/oss_write.c index da2539d1..6525afa4 100644 --- a/oss_write.c +++ b/oss_write.c @@ -174,6 +174,7 @@ static void oss_post_select(__a_unused struct sched *s, goto out; return; } + btr_merge(btrn, wn->min_iqs); bytes = btr_next_buffer(btrn, &data); frames = bytes / powd->bytes_per_frame; if (!frames) { /* eof and less than a single frame available */ -- 2.39.5