mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-03-11 12:56:21 +03:00
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #18077
21 lines
396 B
Plaintext
21 lines
396 B
Plaintext
dnl # SPDX-License-Identifier: CDDL-1.0
|
|
dnl #
|
|
dnl # SB_DYING exists since Linux 6.6
|
|
dnl #
|
|
AC_DEFUN([ZFS_AC_KERNEL_SRC_SB_DYING], [
|
|
ZFS_LINUX_TEST_SRC([sb_dying], [
|
|
#include <linux/fs.h>
|
|
],[
|
|
(void) SB_DYING;
|
|
])
|
|
])
|
|
|
|
AC_DEFUN([ZFS_AC_KERNEL_SB_DYING], [
|
|
AC_MSG_CHECKING([whether SB_DYING is defined])
|
|
ZFS_LINUX_TEST_RESULT([sb_dying], [
|
|
AC_MSG_RESULT(yes)
|
|
],[
|
|
AC_MSG_RESULT(no)
|
|
])
|
|
])
|