From b27a17878e8d90199db21d46aba01b1132bc8f99 Mon Sep 17 00:00:00 2001 From: acoul Date: Sun, 29 Aug 2010 18:33:06 +0000 Subject: linux/generic: update 2.6.36 kernel patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22834 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-2.6.36/217-mini_fo_2.6.36_fixes.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 target/linux/generic/patches-2.6.36/217-mini_fo_2.6.36_fixes.patch (limited to 'target/linux/generic/patches-2.6.36/217-mini_fo_2.6.36_fixes.patch') diff --git a/target/linux/generic/patches-2.6.36/217-mini_fo_2.6.36_fixes.patch b/target/linux/generic/patches-2.6.36/217-mini_fo_2.6.36_fixes.patch new file mode 100644 index 000000000..cae9547b0 --- /dev/null +++ b/target/linux/generic/patches-2.6.36/217-mini_fo_2.6.36_fixes.patch @@ -0,0 +1,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, + }; -- cgit v1.2.3