diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-01-28 09:58:19 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-01-28 09:58:19 +0000 |
commit | 7a983959bfc005a53fa700fb41074bc90b04380c (patch) | |
tree | 6cf55c42a51d189b26b37315235f4215444e6191 | |
parent | d48d5f7b6084ec71aeb1d5a1203431b0396b0e01 (diff) | |
download | fuse-7a983959bfc005a53fa700fb41074bc90b04380c.tar.gz |
fix
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | kernel/dir.c | 6 | ||||
-rw-r--r-- | kernel/fuse_i.h | 4 |
3 files changed, 9 insertions, 5 deletions
@@ -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 diff --git a/kernel/dir.c b/kernel/dir.c index f363a17..7903a66 100644 --- a/kernel/dir.c +++ b/kernel/dir.c @@ -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 diff --git a/kernel/fuse_i.h b/kernel/fuse_i.h index e4d9588..4aa643b 100644 --- a/kernel/fuse_i.h +++ b/kernel/fuse_i.h @@ -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 |