1 --- a/fs/mini_fo/super.c
2 +++ b/fs/mini_fo/super.c
3 @@ -84,6 +84,7 @@ mini_fo_write_inode(inode_t *inode, int
4 #endif /* defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) */
7 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
9 mini_fo_put_inode(inode_t *inode)
11 @@ -99,6 +100,7 @@ mini_fo_put_inode(inode_t *inode)
12 if (atomic_read(&inode->i_count) == 1)
15 +#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) */
18 #if defined(FIST_DEBUG) || defined(FIST_FILTER_SCA)
19 @@ -242,7 +244,7 @@ mini_fo_clear_inode(inode_t *inode)
23 -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
24 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)) && (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26))
25 mini_fo_umount_begin(struct vfsmount *mnt, int flags)
27 struct vfsmount *hidden_mnt;
28 @@ -294,7 +296,9 @@ struct super_operations mini_fo_sops =
29 #if defined(FIST_DEBUG) || defined(FIST_FILTER_SCA)
30 write_inode: mini_fo_write_inode,
31 #endif /* defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) */
32 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
33 put_inode: mini_fo_put_inode,
34 +#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) */
35 #if defined(FIST_DEBUG) || defined(FIST_FILTER_SCA)
36 delete_inode: mini_fo_delete_inode,
37 #endif /* defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) */