diff options
Diffstat (limited to 'blockdev')
| -rw-r--r-- | blockdev/filedev/ext4_filedev.c | 2 | ||||
| -rw-r--r-- | blockdev/io_raw/io_raw.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/blockdev/filedev/ext4_filedev.c b/blockdev/filedev/ext4_filedev.c index 68e6e59..d0530d8 100644 --- a/blockdev/filedev/ext4_filedev.c +++ b/blockdev/filedev/ext4_filedev.c @@ -66,7 +66,7 @@ EXT4_BLOCKDEV_STATIC_INSTANCE( ); /******************************************************************************/ -EXT4_BCACHE_STATIC_INSTANCE(__cache, 8, 1024); +EXT4_BCACHE_STATIC_INSTANCE(__cache, CONFIG_BLOCK_DEV_CACHE_SIZE, 1024); /******************************************************************************/ static int filedev_open(struct ext4_blockdev *bdev) diff --git a/blockdev/io_raw/io_raw.c b/blockdev/io_raw/io_raw.c index d67d062..66b35b4 100644 --- a/blockdev/io_raw/io_raw.c +++ b/blockdev/io_raw/io_raw.c @@ -71,7 +71,7 @@ EXT4_BLOCKDEV_STATIC_INSTANCE( );
/******************************************************************************/
-EXT4_BCACHE_STATIC_INSTANCE(__cache, 8, 1024);
+EXT4_BCACHE_STATIC_INSTANCE(__cache, CONFIG_BLOCK_DEV_CACHE_SIZE, 1024);
/******************************************************************************/
static int io_raw_open(struct ext4_blockdev *bdev)
|
