[PATCH 4.14 25/49] btrfs: return value from btrfs_mark_extent_written() in case of error