+2005-01-28 Miklos Szeredi <miklos@szeredi.hu>
+
+ * Fix compilation on 2.6.7
+
2005-01-26 Miklos Szeredi <miklos@szeredi.hu>
* Released 2.2-pre6
#include <linux/mm.h>
#endif
#include <linux/sched.h>
-#ifdef KERNEL_2_6_7_PLUS
+#ifdef KERNEL_2_6_8_PLUS
#include <linux/namei.h>
#endif
free_page((unsigned long) link);
}
-#ifdef KERNEL_2_6_7_PLUS
+#ifdef KERNEL_2_6_8_PLUS
static int fuse_follow_link(struct dentry *dentry, struct nameidata *nd)
{
nd_set_link(nd, read_link(dentry));
static struct inode_operations fuse_symlink_inode_operations = {
.setattr = fuse_setattr,
.follow_link = fuse_follow_link,
-#ifdef KERNEL_2_6_7_PLUS
+#ifdef KERNEL_2_6_8_PLUS
.put_link = fuse_put_link,
.readlink = generic_readlink,
#else
# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,6)
# define KERNEL_2_6_6_PLUS
# endif
-# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,7)
-# define KERNEL_2_6_7_PLUS
+# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,8)
+# define KERNEL_2_6_8_PLUS
# endif
# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
# define KERNEL_2_6_10_PLUS