commit | 30b0463a9394d9e41596e96def5461fe33222f13 | [log] [tgz] |
---|---|---|
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | Sat Apr 13 13:19:54 2013 +0000 |
committer | Josef Bacik <jbacik@fusionio.com> | Mon May 06 15:54:47 2013 -0400 |
tree | da71470b17140319065525250062db98f0bf5e15 | |
parent | 90f8d62ebb55e2188c1618b650378f9857f9e9a4 [diff] |
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>