1dnl # 2dnl # 3.6 API change, 3dnl # 'sget' now takes the mount flags as an argument. 4dnl # 5AC_DEFUN([ZFS_AC_KERNEL_SRC_SGET], [ 6 ZFS_LINUX_TEST_SRC([sget_5args], [ 7 #include <linux/fs.h> 8 ],[ 9 struct file_system_type *type = NULL; 10 int (*test)(struct super_block *,void *) = NULL; 11 int (*set)(struct super_block *,void *) = NULL; 12 int flags = 0; 13 void *data = NULL; 14 (void) sget(type, test, set, flags, data); 15 ]) 16]) 17 18AC_DEFUN([ZFS_AC_KERNEL_SGET], [ 19 AC_MSG_CHECKING([whether sget() wants 5 args]) 20 ZFS_LINUX_TEST_RESULT([sget_5args], [ 21 AC_MSG_RESULT(yes) 22 ],[ 23 ZFS_LINUX_TEST_ERROR([sget()]) 24 ]) 25]) 26