Document BlockFileIO::read return code

This commit is contained in:
benrubson 2017-08-04 09:22:15 +02:00
parent af6c593b38
commit a64c273d9e

View File

@ -111,6 +111,7 @@ int BlockFileIO::cacheWriteOneBlock(const IORequest &req) {
* data from the front of the first block if the request is not aligned.
* Always requests aligned data of the size of one block or less from the
* lower layer.
* Returns the number of bytes read, or -errno in case of failure.
*/
ssize_t BlockFileIO::read(const IORequest &req) const {
CHECK(_blockSize != 0);