]> git.proxmox.com Git - mirror_zfs-debian.git/blame - config/kernel-open-bdev-exclusive.m4
Linux compat 2.6.39: mount_nodev()
[mirror_zfs-debian.git] / config / kernel-open-bdev-exclusive.m4
CommitLineData
c9c0d073
BB
1dnl #
2dnl # 2.6.28 API change
3dnl # open/close_bdev_excl() renamed to open/close_bdev_exclusive()
4dnl #
5AC_DEFUN([ZFS_AC_KERNEL_OPEN_BDEV_EXCLUSIVE], [
6 ZFS_CHECK_SYMBOL_EXPORT(
7 [open_bdev_exclusive],
8 [fs/block_dev.c],
9 [AC_DEFINE(HAVE_OPEN_BDEV_EXCLUSIVE, 1,
10 [open_bdev_exclusive() is available])],
11 [])
12])