Merge pull request #1351 from live4thee/fix-compile-error

cas_cache: fix compile error when set CAS_DEBUG_IO=1
This commit is contained in:
Robert Baldyga 2022-09-20 16:04:56 +02:00 committed by GitHub
commit 74c17d5115
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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