3 dnl # iops->rename2() merged into iops->rename(), and iops->rename() now wants
6 AC_DEFUN([ZFS_AC_KERNEL_SRC_RENAME_WANTS_FLAGS], [
7 ZFS_LINUX_TEST_SRC([inode_operations_rename], [
9 int rename_fn(struct inode *sip, struct dentry *sdp,
10 struct inode *tip, struct dentry *tdp,
11 unsigned int flags) { return 0; }
13 static const struct inode_operations
14 iops __attribute__ ((unused)) = {
20 AC_DEFUN([ZFS_AC_KERNEL_RENAME_WANTS_FLAGS], [
21 AC_MSG_CHECKING([whether iops->rename() wants flags])
22 ZFS_LINUX_TEST_RESULT([inode_operations_rename], [
24 AC_DEFINE(HAVE_RENAME_WANTS_FLAGS, 1,
25 [iops->rename() wants flags])