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