diff options
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2013-04-13 13:19:54 +0000 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-06 15:54:47 -0400 |
commit | 30b0463a9394d9e41596e96def5461fe33222f13 (patch) | |
tree | da71470b17140319065525250062db98f0bf5e15 /usr | |
parent | 90f8d62ebb55e2188c1618b650378f9857f9e9a4 (diff) | |
download | linux-30b0463a9394d9e41596e96def5461fe33222f13.tar.bz2 |
Btrfs: fix accessing the root pointer in tree mod log functions
The tree mod log functions were accessing root->node->... directly, without
use of btrfs_root_node() or explicit rcu locking. This could lead to an
extent buffer reference being leaked and another reference being freed too
early when preemtion was enabled.
Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions