diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-09 11:49:04 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-14 08:32:48 -0400 |
commit | 63a44583f3a4408b902a3d7ba18b4ab13d1309ab (patch) | |
tree | 8e65c8c823d8eb35ff92252931cc6dfa5946932c /fs/qnx6 | |
parent | 6ce6e24e72233073c8ead9419fc5040d44803dae (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.c | 1 |
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) | |||
622 | static void qnx6_i_callback(struct rcu_head *head) | 622 | static void qnx6_i_callback(struct rcu_head *head) |
623 | { | 623 | { |
624 | struct inode *inode = container_of(head, struct inode, i_rcu); | 624 | struct inode *inode = container_of(head, struct inode, i_rcu); |
625 | INIT_LIST_HEAD(&inode->i_dentry); | ||
626 | kmem_cache_free(qnx6_inode_cachep, QNX6_I(inode)); | 625 | kmem_cache_free(qnx6_inode_cachep, QNX6_I(inode)); |
627 | } | 626 | } |
628 | 627 | ||