diff options
author | pjd <pjd@FreeBSD.org> | 2004-08-06 09:55:40 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-08-06 09:55:40 +0000 |
commit | 636f0ba5847226c6d49e8a64eff4c6f88496a91e (patch) | |
tree | 20c263fdb6dfb635aee7955992126bc9a6ec35d9 /lib/libc/string/strxfrm.c | |
parent | e8cd4126007b2c8b25d70b20bb84145d16bc3ebb (diff) | |
download | FreeBSD-src-636f0ba5847226c6d49e8a64eff4c6f88496a91e.zip FreeBSD-src-636f0ba5847226c6d49e8a64eff4c6f88496a91e.tar.gz |
Fix I/O leakage. We're cloning bios in g_stripe_start_fast(), but when
something goes wrong while running in "fast" mode, we free all bios and
falling back to "economic" mode. Freeing bios, doesn't mean decrease
bio_children, so bio_inbed couldn't be equal to bio_children and request
was never finished.
Decrease bio_children manually when destroying bios.
Reported by: Sam Lawrance <boris@brooknet.com.au>, simon
Diffstat (limited to 'lib/libc/string/strxfrm.c')
0 files changed, 0 insertions, 0 deletions