]> git.proxmox.com Git - mirror_zfs-debian.git/blob - config/kernel-mount-nodev.m4
Fix executable permissions
[mirror_zfs-debian.git] / config / kernel-mount-nodev.m4
1 dnl #
2 dnl # 2.6.39 API change
3 dnl # The .get_sb callback has been replaced by a .mount callback
4 dnl # in the file_system_type structure. When using the new
5 dnl # interface the caller must now use the mount_nodev() helper.
6 dnl # This updated callback and helper no longer pass the vfsmount.
7 dnl #
8 AC_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 ])