mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
bdf4328b04
Added insert_inode_locked() helper function, prior to this most callers used insert_inode_hash(). The older method doesn't check for collisions in the inode_hashtable but it still acceptible for use. Fallback to using insert_inode_hash() when insert_inode_locked() is unavailable.
13 lines
295 B
Plaintext
13 lines
295 B
Plaintext
dnl #
|
|
dnl # 2.6.28 API change
|
|
dnl # Added insert_inode_locked() helper function.
|
|
dnl #
|
|
AC_DEFUN([ZFS_AC_KERNEL_INSERT_INODE_LOCKED], [
|
|
ZFS_CHECK_SYMBOL_EXPORT(
|
|
[insert_inode_locked],
|
|
[fs/inode.c],
|
|
[AC_DEFINE(HAVE_INSERT_INODE_LOCKED, 1,
|
|
[insert_inode_locked() is available])],
|
|
[])
|
|
])
|