mirror of
https://github.com/schoebel/mars
synced 2025-01-02 12:22:20 +00:00
aio: correct interface style
This commit is contained in:
parent
f2e91d0755
commit
3ff50b3bc5
@ -231,7 +231,8 @@ static int aio_ref_get(struct aio_output *output, struct mref_object *mref)
|
||||
MARS_ERR("bad ref_len = %d\n", mref->ref_len);
|
||||
return -EBADR;
|
||||
}
|
||||
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;
|
||||
#ifdef MARS_AIO_DEBUG
|
||||
atomic_inc(&output->total_alloc_count);
|
||||
|
Loading…
Reference in New Issue
Block a user