]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae08a4337a257598620342d3ef8c71fdfc7f20c0
tree6e6aefc816113049e3296d979c4d7a32e97324e3
parent5917b63a64683ce3b13c2757fdb17b8e7c5a81cc
Btrfs: don't start the log transaction if the log tree init fails

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