mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
Fix readonly activation if underlying device is readonly (1.4.0).
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2012-05-27 Milan Broz <gmazyland@gmail.com>
|
||||
* Fix readonly activation if underlying device is readonly (1.4.0).
|
||||
|
||||
2012-05-21 Milan Broz <gmazyland@gmail.com>
|
||||
* Add --enable-fips for linking with fipscheck library.
|
||||
* Initialize binary and library selfcheck if running in FIPS mode.
|
||||
|
||||
@@ -1049,7 +1049,7 @@ int LUKS1_activate(struct crypt_device *cd,
|
||||
device_check = DEV_EXCL;
|
||||
|
||||
r = device_check_and_adjust(cd, dmd.device, device_check,
|
||||
&dmd.size, &dmd.offset, &flags);
|
||||
&dmd.size, &dmd.offset, &dmd.flags);
|
||||
if (r)
|
||||
return r;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user