mirror of
https://github.com/ceph/ceph
synced 2025-01-10 21:20:46 +00:00
osd: fix types for size checks
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
2be3c8dd6f
commit
4a1eb3c8fa
@ -1953,7 +1953,7 @@ int ReplicatedPG::do_tmapup(OpContext *ctx, bufferlist::iterator& bp, OSDOp& osd
|
||||
return result;
|
||||
}
|
||||
|
||||
static int check_offset_and_length(__le64 offset, __le64 length)
|
||||
static int check_offset_and_length(uint64_t offset, uint64_t length)
|
||||
{
|
||||
if (length < 1)
|
||||
return -EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user