summaryrefslogtreecommitdiff
path: root/fs/qnx6
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-06-09 11:49:04 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-14 16:32:48 +0400
commit63a44583f3a4408b902a3d7ba18b4ab13d1309ab (patch)
tree8e65c8c823d8eb35ff92252931cc6dfa5946932c /fs/qnx6
parent6ce6e24e72233073c8ead9419fc5040d44803dae (diff)
qnx6: don't bother with ->i_dentry in inode-freeing callback
we'll initialize it in inode_init_always() when we allocate that object again. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/qnx6')
-rw-r--r--fs/qnx6/inode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/qnx6/inode.c b/fs/qnx6/inode.c
index e44012dc5645..2049c814bda4 100644
--- a/fs/qnx6/inode.c
+++ b/fs/qnx6/inode.c
@@ -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));
}