From fe64da2c7cffcbc1bdc229c686ba412c3461ac64 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Fri, 16 Jan 2015 10:14:28 +0000 Subject: [PATCH] Fix these errors: thin-provisioning/thin_pool.cc:206: error: reference to 'sector_t' is ambiguous ./thin-provisioning/metadata.h:40: error: candidates are: typedef uint64_t thin_provisioning::sector_t ./block-cache/block_cache.h:20: error: typedef uint64_t bcache::sector_t thin-provisioning/thin_pool.cc:206: error: reference to 'sector_t' is ambiguous ./thin-provisioning/metadata.h:40: error: candidates are: typedef uint64_t thin_provisioning::sector_t ./block-cache/block_cache.h:20: error: typedef uint64_t bcache::sector_t thin-provisioning/thin_pool.cc:206: error: 'sector_t' does not name a type Signed-off-by: Mikulas Patocka --- thin-provisioning/thin_pool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thin-provisioning/thin_pool.cc b/thin-provisioning/thin_pool.cc index 53940e3..1596c90 100644 --- a/thin-provisioning/thin_pool.cc +++ b/thin-provisioning/thin_pool.cc @@ -203,7 +203,7 @@ thin_pool::get_nr_free_data_blocks() const return md_->data_sm_->get_nr_free(); } -sector_t +thin_provisioning::sector_t thin_pool::get_data_block_size() const { return md_->sb_.data_block_size_;