From: Jan Schmidt Date: Sat, 13 Apr 2013 13:19:54 +0000 (+0000) Subject: Btrfs: fix accessing the root pointer in tree mod log functions X-Git-Tag: v3.10-rc1~31^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30b0463a9394d9e41596e96def5461fe33222f13;p=pandora-kernel.git 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 Signed-off-by: Josef Bacik --- Reading git-diff-tree failed