Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: Always set config on cleartext block during mounting
UDisks2 allows any block object to be used to update configuration items for any other block, and the mounting dialog was abusing that when mounting an encrypted filesystem: It would use the backing block to update the fstab entries of the cleartext block. This works perfectly fine, except that UDisks2 only guarantees proper notification ordering for the block used to make the method call. Thus, when calling UpdateConfiguration on the backing block, the "Configuration" property of the cleartext block would not necessarily be up-to-date yet when mount_at accesses it.
- Loading branch information