[Linux-stable-mirror] [PATCH] btrfs: handle errors while updating refcounts in update_ref_for_cow