summaryrefslogtreecommitdiff
path: root/fs_test
diff options
context:
space:
mode:
authorgkostka <kostka.grzegorz@gmail.com>2015-12-09 12:44:25 +0100
committergkostka <kostka.grzegorz@gmail.com>2015-12-09 12:44:25 +0100
commit183e464de184a73d18ca6d8833f87f8e86471b07 (patch)
treea6a68f356d4ef0691aced8c2bab0d285fcb3c37c /fs_test
parent4b53a65e1ad2d404253b641fd857f533203fa519 (diff)
ext4_blockdev: move bread/bwrite counters to ext4_blockdev_iface
Diffstat (limited to 'fs_test')
-rw-r--r--fs_test/common/test_lwext4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs_test/common/test_lwext4.c b/fs_test/common/test_lwext4.c
index e816e98..c9693f4 100644
--- a/fs_test/common/test_lwext4.c
+++ b/fs_test/common/test_lwext4.c
@@ -127,8 +127,8 @@ void test_lwext4_block_stats(void)
printf("********************\n");
printf("ext4 blockdev stats\n");
- printf("bdev->bread_ctr = %" PRIu32 "\n", bd->bread_ctr);
- printf("bdev->bwrite_ctr = %" PRIu32 "\n", bd->bwrite_ctr);
+ printf("bdev->bread_ctr = %" PRIu32 "\n", bd->bdif->bread_ctr);
+ printf("bdev->bwrite_ctr = %" PRIu32 "\n", bd->bdif->bwrite_ctr);
printf("bcache->ref_blocks = %" PRIu32 "\n", bc->ref_blocks);
printf("bcache->max_ref_blocks = %" PRIu32 "\n", bc->max_ref_blocks);