fix
authorMiklos Szeredi <miklos@szeredi.hu>
Fri, 28 Jan 2005 09:58:19 +0000 (09:58 +0000)
committerMiklos Szeredi <miklos@szeredi.hu>
Fri, 28 Jan 2005 09:58:19 +0000 (09:58 +0000)
ChangeLog
kernel/dir.c
kernel/fuse_i.h

index e13c79f0710ca07cc4f57f7bd2f0d28ff209723a..5bd917c726b577b178489d5f6ebcaab0492d28fb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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
index f363a179d8a40c4f718dc815909db56bdcbfe86e..7903a6675c89072509002a44032911a54682dd20 100644 (file)
@@ -16,7 +16,7 @@
 #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
 
@@ -599,7 +599,7 @@ static void free_link(char *link)
                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));
@@ -1042,7 +1042,7 @@ static struct inode_operations fuse_common_inode_operations = {
 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
index e4d95880f70079cf3dc8d61f5082f61da6aab2e5..4aa643bdf5c84e129654d669bb65c97e0e8fcf43 100644 (file)
@@ -21,8 +21,8 @@
 #  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