correct return code, fixes #142

This commit is contained in:
Valient Gough 2016-04-23 22:19:07 -07:00
parent 671ff0e3f2
commit f7149eaf7a
No known key found for this signature in database
GPG Key ID: B515DCEB95967051

View File

@ -356,7 +356,7 @@ bool CipherFileIO::writeOneBlock(const IORequest &req) {
if (haveHeader && fsConfig->reverseEncryption) {
rDebug("writing to a reverse mount with per-file IVs is not implemented");
return -EROFS;
return false;
}
int bs = blockSize();