From a64c273d9e2d870a8d38924dd142e0f9d632005b Mon Sep 17 00:00:00 2001 From: benrubson Date: Fri, 4 Aug 2017 09:22:15 +0200 Subject: [PATCH] Document BlockFileIO::read return code --- encfs/BlockFileIO.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/encfs/BlockFileIO.cpp b/encfs/BlockFileIO.cpp index e3c9f7b..efbb3fe 100644 --- a/encfs/BlockFileIO.cpp +++ b/encfs/BlockFileIO.cpp @@ -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);