qnx6: don't bother with ->i_dentry in inode-freeing callback
[firefly-linux-kernel-4.4.55.git] / 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));
 }