source: trunk/target/linux/generic/patches-2.6.37/212-mini_fo_2.6.26_fixes.patch @ 25483

Last change on this file since 25483 was 25483, checked in by florian, 6 years ago

[kernel] refresh 2.6.37 patches

File size: 1.3 KB
  • fs/mini_fo/super.c

    a b mini_fo_write_inode(inode_t *inode, int 
    8484#endif /* defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) */ 
    8585 
    8686 
     87#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) 
    8788STATIC void 
    8889mini_fo_put_inode(inode_t *inode) 
    8990{ 
    mini_fo_put_inode(inode_t *inode) 
    99100        if (atomic_read(&inode->i_count) == 1) 
    100101                inode->i_nlink = 0; 
    101102} 
     103#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) */ 
    102104 
    103105 
    104106#if defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) 
    mini_fo_clear_inode(inode_t *inode) 
    242244 * dies. 
    243245 */ 
    244246STATIC void 
    245 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18) 
     247#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)) && (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)) 
    246248mini_fo_umount_begin(struct vfsmount *mnt, int flags) 
    247249{ 
    248250        struct vfsmount *hidden_mnt; 
    struct super_operations mini_fo_sops = 
    294296#if defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) 
    295297        write_inode:    mini_fo_write_inode, 
    296298#endif /* defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) */ 
     299#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) 
    297300        put_inode:              mini_fo_put_inode, 
     301#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) */ 
    298302#if defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) 
    299303        delete_inode:   mini_fo_delete_inode, 
    300304#endif /* defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) */ 
Note: See TracBrowser for help on using the repository browser.