[PATCH 5.10 061/131] btrfs: return value from btrfs_mark_extent_written() in case of error