mirror of
https://github.com/ceph/go-ceph
synced 2024-12-18 20:35:33 +00:00
522182cbc3
The case of a short read is not detected correctly. This causes Read() to not return io.EOF where it is expected. By comparing 'len(data)' instead of unassigned 'n' (set to 0), the number of bytes that have been read can be compared to the number of bytes that were requested. Signed-off-by: Niels de Vos <ndevos@redhat.com> |
||
---|---|---|
.. | ||
doc.go | ||
options_test.go | ||
options.go | ||
rbd_test.go | ||
rbd.go |