[PATCH 5.12 076/173] btrfs: return value from btrfs_mark_extent_written() in case of error