Allocate io and request in single allocation
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
@@ -110,7 +110,7 @@ int ocf_read_pt(struct ocf_request *req)
|
||||
|
||||
OCF_DEBUG_TRACE(req->cache);
|
||||
|
||||
ocf_io_start(req->io);
|
||||
ocf_io_start(&req->ioi.io);
|
||||
|
||||
/* Get OCF request - increase reference counter */
|
||||
ocf_req_get(req);
|
||||
|
Reference in New Issue
Block a user