We can now rename 'ret2' to 'ret' and use it for generic errors.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
unsigned long pflags;
int memstall = 0;
blk_status_t status;
- int ret2;
+ int ret;
/* we need the actual starting offset of this extent in the file */
read_lock(&em_tree->lock);
goto out_free_bio;
}
- ret2 = btrfs_alloc_folio_array(cb->nr_folios, cb->compressed_folios);
- if (ret2) {
+ ret = btrfs_alloc_folio_array(cb->nr_folios, cb->compressed_folios);
+ if (ret) {
status = BLK_STS_RESOURCE;
goto out_free_compressed_pages;
}