[PATCH 5.4 43/84] btrfs: return value from btrfs_mark_extent_written() in case of error