1 diff -ruN shfs-0.35.orig/shfs/Linux-2.6/inode.c shfs-0.35/shfs/Linux-2.6/inode.c
2 --- shfs-0.35.orig/shfs/Linux-2.6/inode.c 2004-06-01 15:16:19.000000000 +0200
3 +++ shfs-0.35/shfs/Linux-2.6/inode.c 2006-04-05 16:59:55.000000000 +0200
5 #include <asm/uaccess.h>
6 #include <linux/file.h>
7 #include <linux/smp_lock.h>
8 +#include <linux/version.h>
11 #include "shfs_fs_sb.h"
14 KMEM_FREE("inode", inode_cache, i);
16 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,13))
17 + truncate_inode_pages(&inode->i_data, 0);