Closed pierre-labastie closed 3 years ago
You're right, the AC_DEFINE is necessary, I did not properly copy that from HAVE_OWN_FIEMAP_EXTENT_SHARED_DEFINE that I used as a template. Strange that I did verify that on the CI images and it passed.
v2 patch applied and the test now does conditional check if ext4 supports the timestamps.
Kernel: linux 5.11.3 btrfs-progs version: git devel 26ddd8d9001861c22 relevant part of config.log:
Note that config.h does not contain any reference to HAVE_OWN_EXT4_EPOCH_MASK_DEFINE
Content of convert-tests-results.txt:
Reverting commit 405e36d53 allows the test to pass (but should fail on older distros. I cannot test unfortunately)
I suspect commit 405e36d53 is not complete in the configure.ac part: there should be a
AC_DEFINE
after theAX_CHECK_DEFINE
forEXT4_EPOCH_MASK
. But also, it seems to me that the test is reverted inAX_CHECK_DEFINE
.Will submit a patch to the mailing list