3 dnl # lseek_execute helper exported
5 AC_DEFUN([ZFS_AC_KERNEL_LSEEK_EXECUTE],
6 [AC_MSG_CHECKING([whether lseek_execute() is available])
7 ZFS_LINUX_TRY_COMPILE_SYMBOL([
10 struct file *fp __attribute__ ((unused)) = NULL;
11 struct inode *ip __attribute__ ((unused)) = NULL;
12 loff_t offset __attribute__ ((unused)) = 0;
13 loff_t maxsize __attribute__ ((unused)) = 0;
15 lseek_execute(fp, ip, offset, maxsize);
16 ], [lseek_exclusive], [fs/read_write.c], [
18 AC_DEFINE(HAVE_LSEEK_EXECUTE, 1,
19 [lseek_execute() is available])