Sync device using internal write enabled descriptor.

This commit is contained in:
Ondrej Kozina
2019-05-10 15:27:53 +02:00
committed by Milan Broz
parent ee57b865b0
commit 83c227d53c
10 changed files with 15 additions and 16 deletions

View File

@@ -199,7 +199,7 @@ int VERITY_write_sb(struct crypt_device *cd,
log_err(cd, _("Error during update of verity header on device %s."),
device_path(device));
device_sync(cd, device, devfd);
device_sync(cd, device);
return r;
}