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