Hi Robin,
We noticed a compiling issue due to commit 1531853eb7, and its parent 3bfcca8c81 has no such compiling issue, could you pls have a check?
Commit: 1531853eb72b335c488171dd0803e9c417de7e1f (“f2fs_io: Add get file name encryption mode”)
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git master
We followed steps in /f2fs-tools/README and the output was shown as below.
/f2fs-tools# ./autogen.sh
/f2fs-tools# ./configure
/f2fs-tools# make
...
f2fs_io.h:123:28: error: field 'v1' has incomplete type
struct fscrypt_policy_v1 v1;
^~
f2fs_io.c: In function 'do_get_filename_encrypt_mode':
f2fs_io.c:1141:7: error: 'FSCRYPT_POLICY_V1' undeclared (first use in this function); did you mean 'FSCRYPT_POLICY_V2'?
case FSCRYPT_POLICY_V1:
^~~~~~~~~~~~~~~~~
FSCRYPT_POLICY_V2
f2fs_io.c:1141:7: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [Makefile:419: f2fs_io.o] Error 1
make[3]: Leaving directory '/tmp/lkp/xfstests/src/f2fs-tools/tools/f2fs_io'
make[2]: *** [Makefile:609: all-recursive] Error 1
make[2]: Leaving directory '/tmp/lkp/xfstests/src/f2fs-tools/tools'
make[1]: *** [Makefile:421: all-recursive] Error 1
make[1]: Leaving directory '/tmp/lkp/xfstests/src/f2fs-tools'
make: *** [Makefile:353: all] Error 2
Thanks,
Carel