Skip to content

Commit

Permalink
rgw/sfs: Return 0 from read functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Lauhoff committed Oct 18, 2023
1 parent 0805218 commit 73fafa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rgw/driver/sfs/object.cc
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ int SFSObject::SFSReadOp::read(
<< ". Returning EIO." << dendl;
return -EIO;
}
return len;
return 0;
}

// async read
Expand Down Expand Up @@ -219,7 +219,7 @@ int SFSObject::SFSReadOp::iterate(

ofs += size;
}
return len;
return 0;
}

SFSObject::SFSDeleteOp::SFSDeleteOp(
Expand Down

0 comments on commit 73fafa8

Please sign in to comment.