Btrfs: fix wrong search path initialization before searching tree root
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Tue, 14 Jan 2014 16:26:43 +0000 (00:26 +0800)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:20:37 +0000 (13:20 -0800)
commitffcfaf81795471be3c07d6e3143bff31edca5d5a
treeddca6ea848dc7212b63fd75a6088d3259307db74
parent23c671a58831a5aaca3b56b915c8394a274a96df
Btrfs: fix wrong search path initialization before searching tree root

To search tree root without transaction protection, we should neither search commit
root nor skip locking here, fix it.

Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/send.c