linux/generic: update kernel patch refreshing. Include two missed patches.
[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 @@ -117,8 +117,11 @@ mini_fo_delete_inode(inode_t *inode)
4         print_entry_location();
5  
6         fist_checkinode(inode, "mini_fo_delete_inode IN");
7 -       inode->i_size = 0;              /* every f/s seems to do that */
8 -       clear_inode(inode);
9 +       // inode->i_size = 0;           /* every f/s seems to do that */
10 +       end_writeback(inode);
11 +       dquot_drop(inode);
12 +       inode->i_blocks = 0;
13 +
14  
15         print_exit_location();
16  }
17 @@ -300,11 +303,11 @@ struct super_operations mini_fo_sops =
18         put_inode:              mini_fo_put_inode,
19  #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) */
20  #if defined(FIST_DEBUG) || defined(FIST_FILTER_SCA)
21 -       delete_inode:   mini_fo_delete_inode,
22 +       evict_inode:    mini_fo_delete_inode,
23  #endif /* defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) */
24         put_super:              mini_fo_put_super,
25         statfs:         mini_fo_statfs,
26         remount_fs:             mini_fo_remount_fs,
27 -       clear_inode:    mini_fo_clear_inode,
28 +       evict_inode:    mini_fo_clear_inode,
29         umount_begin:   mini_fo_umount_begin,
30  };