[PATCH 4.14 069/124] Btrfs: fix cur_offset in the error case for nocow