Ignore:
Timestamp:
Mar 15, 2017, 2:42:58 AM (2 weeks ago)
Author:
brainslayer
Message:

use new squashfs in all kernels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/fs/orangefs/super.c

    r31574 r31662  
    116116}
    117117
     118static void orangefs_i_callback(struct rcu_head *head)
     119{
     120        struct inode *inode = container_of(head, struct inode, i_rcu);
     121        struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode);
     122        kmem_cache_free(orangefs_inode_cache, orangefs_inode);
     123}
     124
    118125static void orangefs_destroy_inode(struct inode *inode)
    119126{
     
    124131                        __func__, orangefs_inode, get_khandle_from_ino(inode));
    125132
    126         kmem_cache_free(orangefs_inode_cache, orangefs_inode);
     133        call_rcu(&inode->i_rcu, orangefs_i_callback);
    127134}
    128135
Note: See TracChangeset for help on using the changeset viewer.