projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de8fbc3
)
oss_write: Add missing btr_merge().
author
Andre Noll
<maan@systemlinux.org>
Sat, 26 Jun 2010 10:57:06 +0000
(12:57 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 26 Jun 2010 10:57:06 +0000
(12:57 +0200)
Without this patch, the oss writer could detect an EOF condition
even if more data is available.
oss_write.c
patch
|
blob
|
history
diff --git
a/oss_write.c
b/oss_write.c
index
da2539d
..
6525afa
100644
(file)
--- 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 */