mirror of https://github.com/schoebel/mars
bio: correct interface style
This commit is contained in:
parent
3b1b98e686
commit
f2e91d0755
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue