qnx6: don't bother with ->i_dentry in inode-freeing callback
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 Jun 2012 15:49:04 +0000 (11:49 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Jul 2012 12:32:48 +0000 (16:32 +0400)
we'll initialize it in inode_init_always() when we allocate that
object again.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/qnx6/inode.c

index e44012dc56458a9e379695a5ee36fe44a7f768fc..2049c814bda475a7e02e9e4411d54cc74f304660 100644 (file)
@@ -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));
 }