osd_ldiskfs.ko: No such file or directory

TLNR: Disabling ldiskfs support because complete ext4 source does not exist. If you are building using kernel-devel packages and require ldiskfs server support then ensure that the matching kernel-debuginfo-common and kernel-debuginfo-common-<arch> packages are installed.

When compiling Lustre source code, occurs errors as below: