Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 582686
Collapse All | Expand All

(-)thin-provisioning-tools-0.5.3/thin-provisioning/restore_emitter.cc (-1 / +1 lines)
Lines 141-147 Link Here
141
		bool device_exists(thin_dev_t dev) const {
141
		bool device_exists(thin_dev_t dev) const {
142
			uint64_t key[1] = {dev};
142
			uint64_t key[1] = {dev};
143
			device_tree::maybe_value v = md_->details_->lookup(key);
143
			device_tree::maybe_value v = md_->details_->lookup(key);
144
			return v;
144
			return (bool)v;
145
		}
145
		}
146
146
147
		metadata::ptr md_;
147
		metadata::ptr md_;
(-)thin-provisioning-tools-0.5.3/thin-provisioning/thin_pool.cc (-1 / +1 lines)
Lines 232-238 Link Here
232
thin_pool::device_exists(thin_dev_t dev) const
232
thin_pool::device_exists(thin_dev_t dev) const
233
{
233
{
234
	uint64_t key[1] = {dev};
234
	uint64_t key[1] = {dev};
235
	return md_->details_->lookup(key);
235
	return (bool)md_->details_->lookup(key);
236
}
236
}
237
237
238
//----------------------------------------------------------------
238
//----------------------------------------------------------------

Return to bug 582686