From 3507941446555227d918e6a6301972171aa355c3 Mon Sep 17 00:00:00 2001 From: justin Date: Thu, 2 Oct 2014 21:58:16 +0000 Subject: [PATCH] dm_target_t reference count is modified with atomic_{inc,dec}_32 so should be uint_32_t not int --- sys/dev/dm/dm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/dm/dm.h b/sys/dev/dm/dm.h index a9167c1336c5..b46f4f11c8ff 100644 --- a/sys/dev/dm/dm.h +++ b/sys/dev/dm/dm.h @@ -1,4 +1,4 @@ -/* $NetBSD: dm.h,v 1.26 2014/06/14 07:39:00 hannken Exp $ */ +/* $NetBSD: dm.h,v 1.27 2014/10/02 21:58:16 justin Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -250,7 +250,7 @@ typedef struct dm_target { int (*secsize)(dm_table_entry_t *, unsigned *); uint32_t version[3]; - int ref_cnt; + uint32_t ref_cnt; TAILQ_ENTRY(dm_target) dm_target_next; } dm_target_t;