diff options
author | Rob Norris <[email protected]> | 2024-08-24 20:41:49 +1000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2024-09-18 11:23:50 -0700 |
commit | 80d7f0f98e7b4281a02295ed0e3236e33c7995e1 (patch) | |
tree | 43085da142f2dec08df5aef7452c56c4ae539c45 /config | |
parent | 06c34465b74651cfec77414e03663057e0f4f3a1 (diff) |
config: remove HAVE_INODE_TIMESPEC64_TIMES
Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Tino Reichardt <[email protected]>
Signed-off-by: Rob Norris <[email protected]>
Closes #16479
Diffstat (limited to 'config')
-rw-r--r-- | config/kernel-inode-times.m4 | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/config/kernel-inode-times.m4 b/config/kernel-inode-times.m4 index 4d861596e..59988e937 100644 --- a/config/kernel-inode-times.m4 +++ b/config/kernel-inode-times.m4 @@ -15,20 +15,6 @@ AC_DEFUN([ZFS_AC_KERNEL_SRC_INODE_TIMES], [ ]) dnl # - dnl # 4.18 API change - dnl # i_atime, i_mtime, and i_ctime changed from timespec to timespec64. - dnl # - ZFS_LINUX_TEST_SRC([inode_times], [ - #include <linux/fs.h> - ],[ - struct inode ip; - struct timespec ts; - - memset(&ip, 0, sizeof(ip)); - ts = ip.i_mtime; - ]) - - dnl # dnl # 6.6 API change dnl # i_ctime no longer directly accessible, must use dnl # inode_get_ctime(ip), inode_set_ctime*(ip) to @@ -106,15 +92,6 @@ AC_DEFUN([ZFS_AC_KERNEL_INODE_TIMES], [ AC_MSG_RESULT(no) ]) - AC_MSG_CHECKING([whether inode->i_*time's are timespec64]) - ZFS_LINUX_TEST_RESULT([inode_times], [ - AC_MSG_RESULT(no) - ],[ - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_INODE_TIMESPEC64_TIMES, 1, - [inode->i_*time's are timespec64]) - ]) - AC_MSG_CHECKING([whether inode_get_ctime() exists]) ZFS_LINUX_TEST_RESULT([inode_get_ctime], [ AC_MSG_RESULT(yes) |