2 dnl # 2.6.36 API change
3 dnl # The sops->delete_inode() and sops->clear_inode() callbacks have
4 dnl # replaced by a single sops->evict_inode() callback.
6 AC_DEFUN([ZFS_AC_KERNEL_EVICT_INODE], [
7 AC_MSG_CHECKING([whether sops->evict_inode() exists])
8 ZFS_LINUX_TRY_COMPILE([
10 void evict_inode (struct inode * t) { return; }
11 static struct super_operations sops __attribute__ ((unused)) = {
12 .evict_inode = evict_inode,
17 AC_DEFINE(HAVE_EVICT_INODE, 1, [sops->evict_inode() exists])