diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2006-01-04 23:13:29 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2006-01-04 23:13:29 +0000 |
commit | b5e17cc1737efb4a334073f1a13a38a5695f9c50 (patch) | |
tree | e839540b1a3b660044faa8cd6f9d76a96991fd62 /net-fs/shfs/files | |
parent | Pruning old versions (diff) | |
download | gentoo-2-b5e17cc1737efb4a334073f1a13a38a5695f9c50.tar.gz gentoo-2-b5e17cc1737efb4a334073f1a13a38a5695f9c50.tar.bz2 gentoo-2-b5e17cc1737efb4a334073f1a13a38a5695f9c50.zip |
Resolving a few bugs for shfs (#101091, #112874, #81581, #78387)
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'net-fs/shfs/files')
-rw-r--r-- | net-fs/shfs/files/0.35/shfs-0.35-clean-inode-clear.patch | 20 | ||||
-rw-r--r-- | net-fs/shfs/files/digest-shfs-0.35-r2 | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/net-fs/shfs/files/0.35/shfs-0.35-clean-inode-clear.patch b/net-fs/shfs/files/0.35/shfs-0.35-clean-inode-clear.patch new file mode 100644 index 000000000000..0cc4b30889a3 --- /dev/null +++ b/net-fs/shfs/files/0.35/shfs-0.35-clean-inode-clear.patch @@ -0,0 +1,20 @@ +--- shfs/Linux-2.6/inode.c.orig 2006-01-04 16:23:11.000000000 -0600 ++++ shfs/Linux-2.6/inode.c 2006-01-04 16:24:45.000000000 -0600 +@@ -8,6 +8,7 @@ + #include <linux/modversions.h> + #endif + ++#include <linux/version.h> + #include <linux/kernel.h> + #include <linux/module.h> + #include <linux/init.h> +@@ -118,6 +119,9 @@ + } + KMEM_FREE("inode", inode_cache, i); + out: ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,13)) ++ truncate_inode_pages(&inode->i_data, 0); ++#endif + clear_inode(inode); + } + diff --git a/net-fs/shfs/files/digest-shfs-0.35-r2 b/net-fs/shfs/files/digest-shfs-0.35-r2 new file mode 100644 index 000000000000..88af63ae5275 --- /dev/null +++ b/net-fs/shfs/files/digest-shfs-0.35-r2 @@ -0,0 +1 @@ +MD5 016f49d71bc32eee2b5d11fc1600cfbe shfs-0.35.tar.gz 128656 |