diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2008-04-29 07:07:12 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2008-04-29 07:07:12 +0000 |
commit | 8802909c7e2cb76fa023fda07271aba7fe7519da (patch) | |
tree | 434757ee4183859c63e8222b8257dce3b807f61a /sys-fs/fuse/files | |
parent | version bump (diff) | |
download | gentoo-2-8802909c7e2cb76fa023fda07271aba7fe7519da.tar.gz gentoo-2-8802909c7e2cb76fa023fda07271aba7fe7519da.tar.bz2 gentoo-2-8802909c7e2cb76fa023fda07271aba7fe7519da.zip |
version bump, bug 216572
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-fs/fuse/files')
-rw-r--r-- | sys-fs/fuse/files/fuse-2.6.22.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/sys-fs/fuse/files/fuse-2.6.22.patch b/sys-fs/fuse/files/fuse-2.6.22.patch deleted file mode 100644 index c1af56511e3b..000000000000 --- a/sys-fs/fuse/files/fuse-2.6.22.patch +++ /dev/null @@ -1,49 +0,0 @@ ---- fuse-2.6.4-r1/work/fuse-2.6.4/kernel/file.c 2007-05-19 19:54:45.000000000 +0930 -+++ fuse-2.6.4-r1/work/fuse-2.6.4/kernel/file.c 2007-05-19 19:58:40.000000000 +0930 -@@ -781,7 +781,8 @@ - - if (cmd == F_GETLK) { - if (fc->no_lock) { --#ifdef KERNEL_2_6_17_PLUS -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 17) && \ -+ LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22) - if (!posix_test_lock(file, fl, fl)) - fl->fl_type = F_UNLCK; - #else ---- fuse-2.6.4-r1/work/fuse-2.6.4/kernel/inode.c 2007-05-20 09:13:34.000000000 +0930 -+++ fuse-2.6.4-r1/work/fuse-2.6.4/kernel/inode.c 2007-05-20 09:18:33.000000000 +0930 -@@ -809,9 +809,13 @@ - { - struct inode * inode = foo; - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22) -+ inode_init_once(inode); -+#else - if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == - SLAB_CTOR_CONSTRUCTOR) - inode_init_once(inode); -+#endif - } - - static int __init fuse_fs_init(void) -@@ -860,12 +864,20 @@ - if (err) - return err; - #endif -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22) -+ kobj_set_kset_s(&fuse_subsys, fs_subsys); -+#else - kset_set_kset_s(&fuse_subsys, fs_subsys); -+#endif - err = subsystem_register(&fuse_subsys); - if (err) - goto out_err; - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22) -+ kobj_set_kset_s(&connections_subsys, fuse_subsys); -+#else - kset_set_kset_s(&connections_subsys, fuse_subsys); -+#endif - err = subsystem_register(&connections_subsys); - if (err) - goto out_fuse_unregister; |