diff options
author | Yaniv Kaul <ykaul@redhat.com> | 2019-10-02 08:13:57 +0300 |
---|---|---|
committer | Amar Tumballi <amarts@gmail.com> | 2019-11-07 08:30:24 +0000 |
commit | 1de29634e5e74610570fe6f378a994bdf65c34cb (patch) | |
tree | 19c25b8702bd73ddf55374277542de11a659d49f /tests/basic | |
parent | 6b05f29808b187ce720c26e226be673b917ae668 (diff) |
iobuf.c, h: minor fixes
- Align structures
- gf_iobuf_get_pagesize() will now also return the index, reducing the need
for an additional very similar call.
- Removal of an inefficient loop I've inadvertently added previously.
It was harmless, but just inefficient.
- New pool initialization does not need to be done under lock - no
one can touch that pool yet, so no need to protect it.
Change-Id: I61c50f2f14fa79edc131e515e9615a9928ee2dca
updates: bz#1193929
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'tests/basic')
0 files changed, 0 insertions, 0 deletions