ad2d76
--- cryptsetup-2.0.3.old/lib/libdevmapper.c	2018-05-03 18:30:59.000000000 +0200
ad2d76
+++ cryptsetup-2.0.3/lib/libdevmapper.c	2018-06-19 20:01:10.263369754 +0200
ad2d76
@@ -164,6 +164,10 @@ static void _dm_set_crypt_compat(unsigne
ad2d76
 		_dm_flags |= DM_CAPI_STRING_SUPPORTED;
ad2d76
 	}
ad2d76
 
ad2d76
+	if (!_dm_satisfies_version(1, 15, 0, crypt_maj, crypt_min, crypt_patch) &&
ad2d76
+	     _dm_satisfies_version(1, 14, 5, crypt_maj, crypt_min, crypt_patch))
ad2d76
+		_dm_flags |= DM_SECTOR_SIZE_SUPPORTED;
ad2d76
+
ad2d76
 	_dm_crypt_checked = true;
ad2d76
 }
ad2d76