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

Commit 852afd14 authored by bowgotsai's avatar bowgotsai Committed by android-build-merger
Browse files

Merge "fs_mgr_verity: correct dm_target_spec->next"

am: cb199c3f

Change-Id: I92b912f75c2589b520cc5ec4c1f94e68abc210e2
parents 6d1cabbf cb199c3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -285,7 +285,7 @@ static int load_verity_table(struct dm_ioctl *io, const std::string &name,

    // set next target boundary
    verity_params += strlen(verity_params) + 1;
    verity_params = (char*)(((unsigned long)verity_params + 7) & ~8);
    verity_params = (char*)(((uintptr_t)verity_params + 7) & ~7);
    tgt->next = verity_params - buffer;

    // send the ioctl to load the verity table