- lizard_bwrite() returns the final bucket_type instead of the number of
written bytes
+ if (type == BUCKET_TYPE_V33_LIZARD)
+ type = BUCKET_TYPE_V33;
ptr_out = ptr_in;
len_out = len_in;
}
ptr_out = ptr_in;
len_out = len_in;
}
bwrite(fb_out, ptr_out, len_out);
else
bdirect_write_commit(fb_out, ptr_out + len_out);
bwrite(fb_out, ptr_out, len_out);
else
bdirect_write_commit(fb_out, ptr_out + len_out);
- return len_out + 8 + (type == BUCKET_TYPE_V33_LIZARD ? 8 : 0);