mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
13 lines
283 B
Plaintext
13 lines
283 B
Plaintext
|
dnl #
|
||
|
dnl # 2.6.35 API change
|
||
|
dnl # Added truncate_setsize() helper function.
|
||
|
dnl #
|
||
|
AC_DEFUN([ZFS_AC_KERNEL_TRUNCATE_SETSIZE], [
|
||
|
ZFS_CHECK_SYMBOL_EXPORT(
|
||
|
[truncate_setsize],
|
||
|
[mm/truncate.c],
|
||
|
[AC_DEFINE(HAVE_TRUNCATE_SETSIZE, 1,
|
||
|
[truncate_setsize() is available])],
|
||
|
[])
|
||
|
])
|