diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-04-10 08:24:25 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-04-10 08:24:25 +0200 |
commit | 8191ecd1d14c6914c660dfa007154860a7908857 (patch) | |
tree | 7a2c76742945e9659db502c16ed17d33a0644bfd /sound | |
parent | pop previous section in alternative.c (diff) | |
download | linux-8191ecd1d14c6914c660dfa007154860a7908857.tar.xz linux-8191ecd1d14c6914c660dfa007154860a7908857.zip |
splice: fix infinite loop in generic_file_splice_read()
There's a quirky loop in generic_file_splice_read() that could go
on indefinitely, if the file splice returns 0 permanently (and not
just as a temporary condition). Get rid of the loop and pass
back -EAGAIN correctly from __generic_file_splice_read(), so we
handle that condition properly as well.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions