Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / cf / linux-kernel-sig.m4
1 AC_DEFUN([OPENAFS_LINUX_KERNEL_SIG_CHECKS],[
2 dnl Operation signature checks
3 AC_CHECK_LINUX_OPERATION([inode_operations], [follow_link], [no_nameidata],
4 [#include <linux/fs.h>],
5 [const char *],
6 [struct dentry *dentry, void **link_data])
7 AC_CHECK_LINUX_OPERATION([inode_operations], [put_link], [no_nameidata],
8 [#include <linux/fs.h>],
9 [void],
10 [struct inode *inode, void *link_data])
11 AC_CHECK_LINUX_OPERATION([inode_operations], [rename], [takes_flags],
12 [#include <linux/fs.h>],
13 [int],
14 [struct inode *oinode, struct dentry *odentry,
15 struct inode *ninode, struct dentry *ndentry,
16 unsigned int flags])
17 ])