Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a91c741 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix the fuse error that cannot handle the OTA package larger than 4...

Merge "Fix the fuse error that cannot handle the OTA package larger than 4 GiB" am: c9549c19 am: 1eb13afa

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1854273

Change-Id: I087e8e115827259a2f393b9f9690a5cc81b79263
parents 0ffd09c9 1eb13afa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -225,7 +225,7 @@ static int handle_release(void* /* data */, fuse_data* /* fd */, const fuse_in_h

// Fetch a block from the host into fd->curr_block and fd->block_data.
// Returns 0 on successful fetch, negative otherwise.
static int fetch_block(fuse_data* fd, uint32_t block) {
static int fetch_block(fuse_data* fd, uint64_t block) {
  if (block == fd->curr_block) {
    return 0;
  }