Commit 63a44583 authored by Al Viro's avatar Al Viro

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 6ce6e24e
...@@ -622,7 +622,6 @@ static struct inode *qnx6_alloc_inode(struct super_block *sb) ...@@ -622,7 +622,6 @@ static struct inode *qnx6_alloc_inode(struct super_block *sb)
static void qnx6_i_callback(struct rcu_head *head) static void qnx6_i_callback(struct rcu_head *head)
{ {
struct inode *inode = container_of(head, struct inode, i_rcu); 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)); kmem_cache_free(qnx6_inode_cachep, QNX6_I(inode));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment