summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/shfs/files/0.35/shfs-0.35-clean-inode-clear.patch')
-rw-r--r--net-fs/shfs/files/0.35/shfs-0.35-clean-inode-clear.patch20
1 files changed, 0 insertions, 20 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
deleted file mode 100644
index 0cc4b30889a3..000000000000
--- a/net-fs/shfs/files/0.35/shfs-0.35-clean-inode-clear.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- 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);
- }
-