diff options
author | Filipe Manana | 2014-12-04 18:38:30 +0000 |
---|---|---|
committer | Chris Mason | 2014-12-10 12:22:29 -0800 |
commit | 01eacb277909de942abbdff37584ad331e3893fe (patch) | |
tree | 3eb85559ed3ffff6ccafe960cd804eb91b890ad7 /lib/ts_kmp.c | |
parent | a1e7e16ed36b9b059c5ee94e372287418e2dc7bc (diff) |
Btrfs: always clear a block group node when removing it from the tree
Always clear a block group's rbnode after removing it from the rbtree to
ensure that any tasks that might be holding a reference on the block group
don't end up accessing stale rbnode left and right child pointers through
next_block_group().
This is a leftover from the change titled:
"Btrfs: fix invalid block group rbtree access after bg is removed"
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'lib/ts_kmp.c')
0 files changed, 0 insertions, 0 deletions