Max Reitz
39411cf3c3
block/raw-posix: Fix preallocating write() loop
...
write() may write less bytes than requested; in this case, the number of
bytes written is returned. This is the byte count we should be
subtracting from the number of bytes still to be written, and not the
byte count we requested to write.
Reported-by: László Érsek <lersek@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-11-18 12:08:59 +01:00
..
2014-09-10 10:41:29 +02:00
2014-10-20 13:41:27 +02:00
2014-11-03 11:41:49 +00:00
2014-11-03 11:41:48 +00:00
2014-10-20 13:41:27 +02:00
2014-10-20 14:03:51 +02:00
2014-08-20 11:51:28 +02:00
2014-08-15 15:07:15 +02:00
2014-11-03 11:41:49 +00:00
2014-11-03 11:41:47 +00:00
2014-08-15 15:07:15 +02:00
2014-09-12 15:43:06 +02:00
2014-11-03 18:34:09 +00:00
2014-10-20 13:41:27 +02:00
2014-11-03 11:41:48 +00:00
2014-11-03 11:41:49 +00:00
2014-06-04 09:56:11 +02:00
2014-06-04 09:56:11 +02:00
2014-10-20 13:41:26 +02:00
2014-09-12 15:43:06 +02:00
2014-10-20 13:41:27 +02:00
2014-11-03 09:48:41 +00:00
2014-10-20 14:03:50 +02:00
2014-08-20 11:51:28 +02:00
2014-11-03 11:41:49 +00:00
2014-11-03 11:41:49 +00:00
2014-11-03 11:41:47 +00:00
2014-11-03 11:41:49 +00:00
2014-11-03 11:41:49 +00:00
2014-10-20 13:41:26 +02:00
2014-08-20 11:51:28 +02:00
2011-08-20 23:01:08 -05:00
2014-10-20 13:41:27 +02:00
2012-03-12 15:14:06 +01:00
2014-10-20 13:41:27 +02:00
2014-10-20 13:41:27 +02:00
2014-10-20 13:41:27 +02:00
2014-10-20 13:41:27 +02:00
2014-10-20 13:41:27 +02:00
2014-10-20 13:41:27 +02:00
2014-11-18 12:08:59 +01:00
2014-10-20 13:41:27 +02:00
2014-11-03 09:48:41 +00:00
2014-10-20 13:41:27 +02:00
2014-11-03 09:48:42 +00:00
2014-10-03 10:30:33 +01:00
2014-11-03 11:41:49 +00:00
2014-11-09 23:39:50 +01:00
2014-08-15 15:07:14 +02:00
2014-08-20 11:51:28 +02:00
2014-10-20 13:41:26 +02:00
2014-08-15 15:07:14 +02:00
2014-11-14 09:20:45 +00:00
2014-10-20 13:41:26 +02:00
2014-10-20 13:41:26 +02:00
2014-10-20 13:41:27 +02:00