diff options
author | Sebastien Marie <semarie@cvs.openbsd.org> | 2019-07-15 09:05:47 +0000 |
---|---|---|
committer | Sebastien Marie <semarie@cvs.openbsd.org> | 2019-07-15 09:05:47 +0000 |
commit | 62e1e3a174949747a48c0f8263d4af39f3ddf5d3 (patch) | |
tree | af8d1b17b7607b48eb4d75434d03345516c1e793 /etc/mtree | |
parent | de5e78c1ca508dc86e60b9ff26164bdadeb771b6 (diff) |
revisit pipe initialization and buffer management
- in dopipe(), get an already zeroed struct (PR_ZERO) instead of manually initialize each member (in pipe_create)
- rename pipespace() and pipe_free_kmem() to pipe_buffer_realloc() and pipe_buffer_free(): it is more evident that the functions works on the same thing
- in pipe_buffer_free(), return early and move the if-body as function body
No functional change intented.
ok anton@ visa@ mpi@
Diffstat (limited to 'etc/mtree')
0 files changed, 0 insertions, 0 deletions