From 652162fbc3df910985a2fbbef16328dec75984f4 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Wed, 22 Mar 2006 20:55:14 +0000 Subject: Fixing compiling against 2.6.16, adding X useflag (Portage version: 2.1_pre6-r5) --- net-fs/shfs/files/digest-shfs-0.35-r3 | 3 +++ net-fs/shfs/files/shfs-0.35-2.6.16-dentry.patch | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 net-fs/shfs/files/digest-shfs-0.35-r3 create mode 100644 net-fs/shfs/files/shfs-0.35-2.6.16-dentry.patch (limited to 'net-fs/shfs/files') diff --git a/net-fs/shfs/files/digest-shfs-0.35-r3 b/net-fs/shfs/files/digest-shfs-0.35-r3 new file mode 100644 index 000000000000..5d55d11b9c37 --- /dev/null +++ b/net-fs/shfs/files/digest-shfs-0.35-r3 @@ -0,0 +1,3 @@ +MD5 016f49d71bc32eee2b5d11fc1600cfbe shfs-0.35.tar.gz 128656 +RMD160 84bc1c1d6bf5bd722fe1e4b3a4055843b11eda7a shfs-0.35.tar.gz 128656 +SHA256 0d48ffe4d801180c15466f20aaa5802adb9d22067e8941e051dc3c64717ec3c2 shfs-0.35.tar.gz 128656 diff --git a/net-fs/shfs/files/shfs-0.35-2.6.16-dentry.patch b/net-fs/shfs/files/shfs-0.35-2.6.16-dentry.patch new file mode 100644 index 000000000000..a1534bc221d9 --- /dev/null +++ b/net-fs/shfs/files/shfs-0.35-2.6.16-dentry.patch @@ -0,0 +1,20 @@ +--- shfs/Linux-2.6/dcache.c 2004-06-01 15:16:19.000000000 +0200 ++++ shfs/Linux-2.6/dcache.c 2006-02-17 17:36:02.000000000 +0100 +@@ -68,7 +68,7 @@ + spin_lock(&dcache_lock); + next = parent->d_subdirs.next; + while (next != &parent->d_subdirs) { +- dentry = list_entry(next, struct dentry, d_child); ++ dentry = list_entry(next, struct dentry, d_u.d_child); + dentry->d_fsdata = NULL; + shfs_age_dentry(info, dentry); + next = next->next; +@@ -101,7 +101,7 @@ + spin_lock(&dcache_lock); + next = parent->d_subdirs.next; + while (next != &parent->d_subdirs) { +- dent = list_entry(next, struct dentry, d_child); ++ dent = list_entry(next, struct dentry, d_u.d_child); + if ((unsigned long)dent->d_fsdata == fpos) { + if (dent->d_inode) + dget_locked(dent); -- cgit v1.2.3-65-gdbad