summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2008-03-15 09:04:26 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2008-03-15 09:04:26 +0000
commit257e808f4aaf364378cc89846e68f65086ac9d8f (patch)
tree25e57ae7a7ba2e1cb0c5d434ecbd28fd700a2417 /sys-fs
parentStable on ppc wrt bug 213250 (diff)
downloadgentoo-2-257e808f4aaf364378cc89846e68f65086ac9d8f.tar.gz
gentoo-2-257e808f4aaf364378cc89846e68f65086ac9d8f.tar.bz2
gentoo-2-257e808f4aaf364378cc89846e68f65086ac9d8f.zip
Fixup inode corruption by upstream
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/redirfs/ChangeLog9
-rw-r--r--sys-fs/redirfs/files/redirfs-0.2-truncate_inode_pages.patch22
-rw-r--r--sys-fs/redirfs/redirfs-0.2-r1.ebuild (renamed from sys-fs/redirfs/redirfs-0.2.ebuild)10
3 files changed, 38 insertions, 3 deletions
diff --git a/sys-fs/redirfs/ChangeLog b/sys-fs/redirfs/ChangeLog
index 4a2590c22a64..2de4c67b80a2 100644
--- a/sys-fs/redirfs/ChangeLog
+++ b/sys-fs/redirfs/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-fs/redirfs
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/redirfs/ChangeLog,v 1.1 2008/02/23 10:29:19 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/redirfs/ChangeLog,v 1.2 2008/03/15 09:04:25 alonbl Exp $
+
+*redirfs-0.2-r1 (15 Mar 2008)
+
+ 15 Mar 2008; Alon Bar-Lev <alonbl@gentoo.org>
+ +files/redirfs-0.2-truncate_inode_pages.patch, -redirfs-0.2.ebuild,
+ +redirfs-0.2-r1.ebuild:
+ Fixup inode corruption by upstream
*redirfs-0.2 (23 Feb 2008)
diff --git a/sys-fs/redirfs/files/redirfs-0.2-truncate_inode_pages.patch b/sys-fs/redirfs/files/redirfs-0.2-truncate_inode_pages.patch
new file mode 100644
index 000000000000..47cae51596af
--- /dev/null
+++ b/sys-fs/redirfs/files/redirfs-0.2-truncate_inode_pages.patch
@@ -0,0 +1,22 @@
+Index: redir.c
+===================================================================
+--- redir.c (revision 366)
++++ redir.c (working copy)
+@@ -103,6 +103,9 @@
+
+ static inline void rfs_truncate_inode_pages(struct inode *inode)
+ {
++ return;
++
++ /*
+ if (!inode)
+ return;
+
+@@ -111,6 +114,7 @@
+ truncate_inode_pages(&inode->i_data, 0);
+ mutex_unlock(&inode->i_mutex);
+ }
++ */
+ }
+
+ int rfs_replace_ops(struct rpath *path_old, struct rpath *path_new, struct filter *flt)
diff --git a/sys-fs/redirfs/redirfs-0.2.ebuild b/sys-fs/redirfs/redirfs-0.2-r1.ebuild
index a916a83a83c7..2d8152be6e7c 100644
--- a/sys-fs/redirfs/redirfs-0.2.ebuild
+++ b/sys-fs/redirfs/redirfs-0.2-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/redirfs/redirfs-0.2.ebuild,v 1.3 2008/02/23 20:23:18 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/redirfs/redirfs-0.2-r1.ebuild,v 1.1 2008/03/15 09:04:25 alonbl Exp $
-inherit linux-mod
+inherit linux-mod eutils
DESCRIPTION="Redirecting FileSystem"
HOMEPAGE="http://www.redirfs.org"
@@ -28,6 +28,12 @@ pkg_setup() {
sleep 5
}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-truncate_inode_pages.patch"
+}
+
src_install() {
linux-mod_src_install
insinto /usr/include