From 183e464de184a73d18ca6d8833f87f8e86471b07 Mon Sep 17 00:00:00 2001 From: gkostka Date: Wed, 9 Dec 2015 12:44:25 +0100 Subject: ext4_blockdev: move bread/bwrite counters to ext4_blockdev_iface --- fs_test/common/test_lwext4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fs_test') 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); -- cgit v1.2.3