Skip to content

Commit

Permalink
qnx6: don't bother with ->i_dentry in inode-freeing callback
Browse files Browse the repository at this point in the history
we'll initialize it in inode_init_always() when we allocate that
object again.

Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Jul 14, 2012
1 parent 6ce6e24 commit 63a4458
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/qnx6/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,6 @@ static struct inode *qnx6_alloc_inode(struct super_block *sb)
static void qnx6_i_callback(struct rcu_head *head)
{
struct inode *inode = container_of(head, struct inode, i_rcu);
INIT_LIST_HEAD(&inode->i_dentry);
kmem_cache_free(qnx6_inode_cachep, QNX6_I(inode));
}

Expand Down

0 comments on commit 63a4458

Please sign in to comment.