Btrfs: don't start the log transaction if the log tree init fails
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 20 Feb 2014 10:08:53 +0000 (18:08 +0800)
committerJosef Bacik <jbacik@fb.com>
Mon, 10 Mar 2014 19:16:40 +0000 (15:16 -0400)
The old code would start the log transaction even the log tree init
failed, it was unnecessary. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/tree-log.c

Simple merge