bio: correct interface style

This commit is contained in:
Thomas Schoebel-Theuer 2023-02-19 23:41:19 +01:00 committed by Thomas Schoebel-Theuer
parent 3b1b98e686
commit f2e91d0755
1 changed files with 2 additions and 1 deletions

View File

@ -348,7 +348,8 @@ static int bio_ref_get(struct bio_output *output, struct mref_object *mref)
if (unlikely(mref->ref_len <= 0)) {
goto done;
}
mref->ref_data = brick_block_alloc(mref->ref_pos, (mref_a->alloc_len = mref->ref_len));
mref_a->alloc_len = mref->ref_len;
mref->ref_data = brick_block_alloc(mref->ref_pos, mref->ref_len);
mref_a->do_dealloc = true;
}