Skip to content
Snippets Groups Projects
Commit 83e54c91 authored by Ann Priestman's avatar Ann Priestman
Browse files

Updated comments

parent c0485b8f
Branches
Tags
No related merge requests found
...@@ -464,7 +464,8 @@ static TSK_RETVAL_ENUM tsk_img_writer_close(TSK_IMG_WRITER* img_writer) { ...@@ -464,7 +464,8 @@ static TSK_RETVAL_ENUM tsk_img_writer_close(TSK_IMG_WRITER* img_writer) {
} }
/* /*
* Will go through the image and manually read and copy any incomplete blocks * Will go through the image and manually read any incomplete blocks to
* complete the image.
* @param img_writer Image writer object * @param img_writer Image writer object
*/ */
static TSK_RETVAL_ENUM tsk_img_writer_finish_image(TSK_IMG_WRITER* img_writer) { static TSK_RETVAL_ENUM tsk_img_writer_finish_image(TSK_IMG_WRITER* img_writer) {
...@@ -488,7 +489,8 @@ static TSK_RETVAL_ENUM tsk_img_writer_finish_image(TSK_IMG_WRITER* img_writer) { ...@@ -488,7 +489,8 @@ static TSK_RETVAL_ENUM tsk_img_writer_finish_image(TSK_IMG_WRITER* img_writer) {
for (uint32_t i = 0; i < img_writer->totalBlocks; i++) { for (uint32_t i = 0; i < img_writer->totalBlocks; i++) {
if (img_writer->blockStatus[i] != IMG_WRITER_BLOCK_STATUS_FINISHED) { if (img_writer->blockStatus[i] != IMG_WRITER_BLOCK_STATUS_FINISHED) {
/* Read in the entire block in cache-length chunks. /* Read in the entire block in cache-length chunks. Each read will lead to a call to
* tsk_img_writer_add with the new data.
* We don't use the sector bitmap here because there is a chance the memory will get freed by * We don't use the sector bitmap here because there is a chance the memory will get freed by
* another thread running tsk_img_writer_add. * another thread running tsk_img_writer_add.
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment