Blame SOURCES/cryptsetup-sector-size-detection.patch

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