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

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

[kernel] update to 2.6.34.5

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) 
    238240 * dies. 
    239241 */ 
    240242STATIC void 
    241 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18) 
     243#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)) && (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)) 
    242244mini_fo_umount_begin(struct vfsmount *mnt, int flags) 
    243245{ 
    244246        struct vfsmount *hidden_mnt; 
    struct super_operations mini_fo_sops = 
    290292#if defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) 
    291293        write_inode:    mini_fo_write_inode, 
    292294#endif /* defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) */ 
     295#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) 
    293296        put_inode:              mini_fo_put_inode, 
     297#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) */ 
    294298#if defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) 
    295299        delete_inode:   mini_fo_delete_inode, 
    296300#endif /* defined(FIST_DEBUG) || defined(FIST_FILTER_SCA) */ 
Note: See TracBrowser for help on using the repository browser.