Module Name:    src
Committed By:   justin
Date:           Thu Oct  2 21:58:16 UTC 2014

Modified Files:
        src/sys/dev/dm: dm.h

Log Message:
dm_target_t reference count is modified with atomic_{inc,dec}_32 so should
be uint_32_t not int


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/dm/dm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/dm/dm.h
diff -u src/sys/dev/dm/dm.h:1.26 src/sys/dev/dm/dm.h:1.27
--- src/sys/dev/dm/dm.h:1.26	Sat Jun 14 07:39:00 2014
+++ src/sys/dev/dm/dm.h	Thu Oct  2 21:58:16 2014
@@ -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;

Reply via email to