]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix unprotected root node of the subvolume's inode rb-tree
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 15 May 2013 07:48:16 +0000 (07:48 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Sat, 18 May 2013 01:40:30 +0000 (21:40 -0400)
commitd806b5839d60a61b8456a490818d56d294cd2932
tree712194a90f35e47e18f23b29cc630674befd5fc2
parentfb04b13660411150bd28bc9d8b491fefffceaeb5
Btrfs: fix unprotected root node of the subvolume's inode rb-tree

The root node of the rb-tree may be changed, so we should get it under
the lock. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/inode.c