summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rename.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-05-15 09:48:15 +0200
committerJosef Bacik <jbacik@fusionio.com>2013-05-18 03:40:29 +0200
commit89042e5ad23d50449691141334f30d53d6271266 (patch)
tree17dd95d87abed2cab31d3c2cc316e85b314a4525 /fs/xfs/xfs_rename.c
parentBtrfs: return errno if possible when we fail to allocate memory (diff)
downloadlinux-89042e5ad23d50449691141334f30d53d6271266.tar.xz
linux-89042e5ad23d50449691141334f30d53d6271266.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions