cas_cache: fix compile error when set CAS_DEBUG_IO=1

Signed-off-by: David Lee <live4thee@gmail.com>
This commit is contained in:
David Lee 2022-09-19 19:21:43 +08:00
parent 3c3369bcc7
commit 193f2c9a3a

View File

@ -373,8 +373,7 @@ static void block_dev_submit_io(struct ocf_io *io)
return;
}
CAS_DEBUG_PARAM("Address = %llu, bytes = %u\n", bdio->addr,
bdio->bytes);
CAS_DEBUG_PARAM("Address = %llu, bytes = %u\n", addr, bytes);
/* Prevent races of completing IO */
atomic_set(&bdio->rq_remaning, 1);