Remove the iscsi data alloc_size field.
Avoiding to realloc data over and over should rather be handled with something similar to iovectors instead.
This commit is contained in:
@@ -537,7 +537,6 @@ iscsi_task_mgmt_target_cold_reset_async(struct iscsi_context *iscsi,
|
||||
|
||||
struct iscsi_data {
|
||||
int size;
|
||||
size_t alloc_size;
|
||||
unsigned char *data;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user