1 --- a/fs/mini_fo/super.c
2 +++ b/fs/mini_fo/super.c
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)
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)
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;
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) */