From 266c5e53b09b2bdb1c7a2301616dbbbd6b5d5f11 Mon Sep 17 00:00:00 2001 From: gkostka Date: Sun, 27 Oct 2013 18:07:39 +0000 Subject: Add readme file. --- blockdev/filedev/ext4_filedev.c | 2 +- blockdev/io_raw/io_raw.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'blockdev') 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) -- cgit v1.2.3