From aea3a8fd08bbcda933cfc0b399a6b366140eed88 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 8 May 2007 21:45:02 +0000 Subject: Forgot comitting patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7142 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/102-shfs_0.35_clean_inode_clear.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/shfs/patches/102-shfs_0.35_clean_inode_clear.patch (limited to 'package/shfs/patches/102-shfs_0.35_clean_inode_clear.patch') diff --git a/package/shfs/patches/102-shfs_0.35_clean_inode_clear.patch b/package/shfs/patches/102-shfs_0.35_clean_inode_clear.patch new file mode 100644 index 000000000..6ca6ec021 --- /dev/null +++ b/package/shfs/patches/102-shfs_0.35_clean_inode_clear.patch @@ -0,0 +1,20 @@ +--- shfs-0.35.orig/shfs/Linux-2.6/inode.c.orig 2006-01-04 16:23:11.000000000 -0600 ++++ shfs-0.35/shfs/Linux-2.6/inode.c 2006-01-04 16:24:45.000000000 -0600 +@@ -8,6 +8,7 @@ + #include + #endif + ++#include + #include + #include + #include +@@ -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); + } + -- cgit v1.2.3