diff options
Diffstat (limited to 'fs/9p/vfs_inode.c')
| -rw-r--r-- | fs/9p/vfs_inode.c | 10 | 
1 files changed, 2 insertions, 8 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index 72b779bc0942..24050e866e64 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c @@ -253,21 +253,15 @@ struct inode *v9fs_alloc_inode(struct super_block *sb)  }  /** - * v9fs_destroy_inode - destroy an inode + * v9fs_free_inode - destroy an inode   *   */ -static void v9fs_i_callback(struct rcu_head *head) +void v9fs_free_inode(struct inode *inode)  { -	struct inode *inode = container_of(head, struct inode, i_rcu);  	kmem_cache_free(v9fs_inode_cache, V9FS_I(inode));  } -void v9fs_destroy_inode(struct inode *inode) -{ -	call_rcu(&inode->i_rcu, v9fs_i_callback); -} -  int v9fs_init_inode(struct v9fs_session_info *v9ses,  		    struct inode *inode, umode_t mode, dev_t rdev)  {  | 
