2 dnl # 2.6.38 API change
3 dnl # The .get_sb callback has been replaced by a .mount callback
4 dnl # in the file_system_type structure.
6 AC_DEFUN([ZFS_AC_KERNEL_FST_MOUNT], [
7 AC_MSG_CHECKING([whether fst->mount() exists])
8 ZFS_LINUX_TRY_COMPILE([
11 static struct dentry *
12 mount(struct file_system_type *fs_type, int flags,
13 const char *osname, void *data) {
14 struct dentry *d = NULL;
18 static struct file_system_type fst __attribute__ ((unused)) = {
24 AC_DEFINE(HAVE_FST_MOUNT, 1, [fst->mount() exists])