diff options
author | pjd <pjd@FreeBSD.org> | 2005-04-03 14:55:49 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2005-04-03 14:55:49 +0000 |
commit | ae7daf0c96f3f26bb42733b649e01af87e4752b6 (patch) | |
tree | 03c48419f201c9e7b07efb31e0fefb8635d000bb /sbin/restore | |
parent | 89c98c3d5b1b5283351185bbd6504725cd0f07fa (diff) | |
download | FreeBSD-src-ae7daf0c96f3f26bb42733b649e01af87e4752b6.zip FreeBSD-src-ae7daf0c96f3f26bb42733b649e01af87e4752b6.tar.gz |
- Add a missing g_io_deliver() in case of allocation failure - we didn't
completed I/O requests here.
- First allocate all needed bios, so if any of allocations fail, we can
free memory before sending any I/O requests down.
Reported by: Pawel Malachowski
MFC after: 3 days
Diffstat (limited to 'sbin/restore')
0 files changed, 0 insertions, 0 deletions