Use $(CP) instead of $(INSTALL_BIN) for binaries.
[openwrt.git] / package / shfs / patches / 102-shfs_0.35_clean_inode_clear.patch
1 Index: shfs-0.35/shfs/Linux-2.6/inode.c
2 ===================================================================
3 --- shfs-0.35.orig/shfs/Linux-2.6/inode.c 2007-06-04 13:22:58.397977440 +0200
4 +++ shfs-0.35/shfs/Linux-2.6/inode.c 2007-06-04 13:22:58.637940960 +0200
5 @@ -8,6 +8,7 @@
6 #include <linux/modversions.h>
7 #endif
8
9 +#include <linux/version.h>
10 #include <linux/kernel.h>
11 #include <linux/module.h>
12 #include <linux/init.h>
13 @@ -118,6 +119,9 @@
14 }
15 KMEM_FREE("inode", inode_cache, i);
16 out:
17 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,13))
18 + truncate_inode_pages(&inode->i_data, 0);
19 +#endif
20 clear_inode(inode);
21 }
22
This page took 0.042409 seconds and 5 git commands to generate.