summaryrefslogtreecommitdiffstats
path: root/fs/qnx6/inode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-06-09 17:49:04 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-14 14:32:48 +0200
commit63a44583f3a4408b902a3d7ba18b4ab13d1309ab (patch)
tree8e65c8c823d8eb35ff92252931cc6dfa5946932c /fs/qnx6/inode.c
parentget rid of magic in proc_namespace.c (diff)
downloadlinux-63a44583f3a4408b902a3d7ba18b4ab13d1309ab.tar.xz
linux-63a44583f3a4408b902a3d7ba18b4ab13d1309ab.zip
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 '')
-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));
}