|
@@ -111,7 +111,7 @@ struct blk_desc {
|
|
#define PAD_TO_BLOCKSIZE(size, blk_desc) \
|
|
#define PAD_TO_BLOCKSIZE(size, blk_desc) \
|
|
(PAD_SIZE(size, blk_desc->blksz))
|
|
(PAD_SIZE(size, blk_desc->blksz))
|
|
|
|
|
|
-#ifdef CONFIG_BLOCK_CACHE
|
|
|
|
|
|
+#if CONFIG_IS_ENABLED(BLOCK_CACHE)
|
|
/**
|
|
/**
|
|
* blkcache_read() - attempt to read a set of blocks from cache
|
|
* blkcache_read() - attempt to read a set of blocks from cache
|
|
*
|
|
*
|