Fix do_write

After about four month, we never noticed this rather obvious bug.  Tells
you something about the frequency of short writes.

Signed-off-by: Joern Engel <joern@logfs.org>
1 file changed