We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a83134b commit d2080c7Copy full SHA for d2080c7
fs/btrfs/compression.c
@@ -577,7 +577,7 @@ void btrfs_submit_compressed_read(struct btrfs_bio *bbio)
577
unsigned long pflags;
578
int memstall = 0;
579
blk_status_t status;
580
- int ret2;
+ int ret;
581
582
/* we need the actual starting offset of this extent in the file */
583
read_lock(&em_tree->lock);
@@ -612,8 +612,8 @@ void btrfs_submit_compressed_read(struct btrfs_bio *bbio)
612
goto out_free_bio;
613
}
614
615
- ret2 = btrfs_alloc_folio_array(cb->nr_folios, cb->compressed_folios);
616
- if (ret2) {
+ ret = btrfs_alloc_folio_array(cb->nr_folios, cb->compressed_folios);
+ if (ret) {
617
status = BLK_STS_RESOURCE;
618
goto out_free_compressed_pages;
619
0 commit comments