2 dnl # 6.12 removed f_version from struct file
4 AC_DEFUN([ZFS_AC_KERNEL_SRC_FILE_F_VERSION], [
5 ZFS_LINUX_TEST_SRC([file_f_version], [
8 static const struct f __attribute__((unused)) = {
14 AC_DEFUN([ZFS_AC_KERNEL_FILE_F_VERSION], [
15 AC_MSG_CHECKING([whether file->f_version exists])
16 ZFS_LINUX_TEST_RESULT([file_f_version], [
18 AC_DEFINE(HAVE_FILE_F_VERSION, 1,
19 [file->f_version exists])
25 AC_DEFUN([ZFS_AC_KERNEL_FILE], [
26 ZFS_AC_KERNEL_FILE_F_VERSION
29 AC_DEFUN([ZFS_AC_KERNEL_SRC_FILE], [
30 ZFS_AC_KERNEL_SRC_FILE_F_VERSION