commit | 89042e5ad23d50449691141334f30d53d6271266 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Wed May 15 07:48:15 2013 +0000 |
committer | Josef Bacik <jbacik@fusionio.com> | Fri May 17 21:40:29 2013 -0400 |
tree | 17dd95d87abed2cab31d3c2cc316e85b314a4525 | |
parent | b9aa55bed1c1a3a329da31884b643c62d57ebb21 [diff] |
Btrfs: fix accessing a freed tree root inode_tree_del() will move the tree root into the dead root list, and then the tree will be destroyed by the cleaner. So if we remove the delayed node which is cached in the inode after inode_tree_del(), we may access a freed tree root. Fix it. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>