diff --git a/src/rgw/driver/sfs/object.cc b/src/rgw/driver/sfs/object.cc index 801444f9e6570..5f0d2526508c6 100644 --- a/src/rgw/driver/sfs/object.cc +++ b/src/rgw/driver/sfs/object.cc @@ -177,7 +177,7 @@ int SFSObject::SFSReadOp::read( << ". Returning EIO." << dendl; return -EIO; } - return len; + return 0; } // async read @@ -219,7 +219,7 @@ int SFSObject::SFSReadOp::iterate( ofs += size; } - return len; + return 0; } SFSObject::SFSDeleteOp::SFSDeleteOp(