提交 7968ce12 编写于 作者: A Al Viro

adfs: don't bother with ->i_dentry in ->destroy_inode()

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 e6f9f8d0
......@@ -246,7 +246,6 @@ static struct inode *adfs_alloc_inode(struct super_block *sb)
static void adfs_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(adfs_inode_cachep, ADFS_I(inode));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册