btrfs-progs: return error from commit_tree_roots()
authorZach Brown <zab@redhat.com>
Thu, 17 Jan 2013 20:06:29 +0000 (12:06 -0800)
committerZach Brown <zab@redhat.com>
Wed, 6 Feb 2013 00:09:38 +0000 (16:09 -0800)
commitea0ac9416fd13b7e20899d8c7c130e5375171ea6
tree32c15a293be36b815634fb95aa6846a1fc274ec1
parent52162700bb59663add809a6465ce2769d80b3664
btrfs-progs: return error from commit_tree_roots()

Errors cow-ing the root block are silently being dropped.  This is
just a step towards error handling because both the caller and calee
assert on errors.

Signed-off-by: Zach Brown <zab@redhat.com>
disk-io.c