Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config/kernel-inode-times: initialize timespec
Usage of this variable uninitialized triggers -Werror,-Wuninitialized when compiled under clang for linux kernel 5.6, leading the build system to believe that the function is not declared. This commit initializes the variable to suppress the warning and fix the build for kernel 5.6 with clang. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Hiếu Lê <leorize+oss@disroot.org> Closes openzfs#10279 Closes openzfs#10281 (cherry picked from commit 3e5d41d)
- Loading branch information