]> git.proxmox.com Git - mirror_zfs-debian.git/blame - config/kernel-mount-nodev.m4
Move partition scanning from userspace to module.
[mirror_zfs-debian.git] / config / kernel-mount-nodev.m4
CommitLineData
2cf7f52b
BB
1dnl #
2dnl # 2.6.39 API change
3dnl # The .get_sb callback has been replaced by a .mount callback
4dnl # in the file_system_type structure. When using the new
5dnl # interface the caller must now use the mount_nodev() helper.
6dnl # This updated callback and helper no longer pass the vfsmount.
7dnl #
8AC_DEFUN([ZFS_AC_KERNEL_MOUNT_NODEV], [
9 ZFS_CHECK_SYMBOL_EXPORT(
10 [mount_nodev],
11 [fs/super.c],
12 [AC_DEFINE(HAVE_MOUNT_NODEV, 1,
13 [mount_nodev() is available])],
14 [])
15])