summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.36/217-mini_fo_2.6.36_fixes.patch
blob: cae9547b00274db8dc6bffd8035fcf5793fe4d29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/fs/mini_fo/super.c
+++ b/fs/mini_fo/super.c
@@ -296,11 +296,19 @@ struct super_operations mini_fo_sops =
 	put_inode:		mini_fo_put_inode,
 #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) */
 #if defined(FIST_DEBUG) || defined(FIST_FILTER_SCA)
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,35)
+	evict_inode:	mini_fo_delete_inode,
+#else
 	delete_inode:	mini_fo_delete_inode,
+#endif
 #endif /* defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) */
 	put_super:		mini_fo_put_super,
 	statfs:		mini_fo_statfs,
 	remount_fs:		mini_fo_remount_fs,
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,35)
+	evict_inode:	mini_fo_clear_inode,
+#else
 	clear_inode:	mini_fo_clear_inode,
+#endif
 	umount_begin:	mini_fo_umount_begin,
 };