From: Al Viro Date: Sat, 9 Jun 2012 15:49:04 +0000 (-0400) Subject: qnx6: don't bother with ->i_dentry in inode-freeing callback X-Git-Tag: v3.6-rc1~18^2~170 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63a44583f3a4408b902a3d7ba18b4ab13d1309ab;p=platform%2Fupstream%2Fkernel-adaptation-pc.git 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 --- diff --git a/fs/qnx6/inode.c b/fs/qnx6/inode.c index e44012d..2049c81 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)); }