[PATCH 3.16 145/305] Btrfs: fix cur_offset in the error case for nocow