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

Skip to content
  • Kjell Braden's avatar
    3126a113
    wait for cryptfs device node to come up · 3126a113
    Kjell Braden authored
    this is to prevent a race condition to occur when mounting an adopted
    storage volume just after it was decrypted. After setting up the
    decrypted volume using cryptfs_setup_ext_volume(), Decrypt_Adopted()
    immediately calls Mount(), which will call Check_FS_Type(), which will
    fail in blkid_new_probe_from_filename, as the device node was not
    created yet.
    
    Change-Id: Ic5a274c2066ab278c9b7f1c8b83b820e552ca344
    3126a113
    wait for cryptfs device node to come up
    Kjell Braden authored
    this is to prevent a race condition to occur when mounting an adopted
    storage volume just after it was decrypted. After setting up the
    decrypted volume using cryptfs_setup_ext_volume(), Decrypt_Adopted()
    immediately calls Mount(), which will call Check_FS_Type(), which will
    fail in blkid_new_probe_from_filename, as the device node was not
    created yet.
    
    Change-Id: Ic5a274c2066ab278c9b7f1c8b83b820e552ca344
Loading