Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/dm dm_target_t reference count is modified with atom...



details:   https://anonhg.NetBSD.org/src/rev/e2f17c98d94c
branches:  trunk
changeset: 332670:e2f17c98d94c
user:      justin <justin%NetBSD.org@localhost>
date:      Thu Oct 02 21:58:16 2014 +0000

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

diffstat:

 sys/dev/dm/dm.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9e91c1923727 -r e2f17c98d94c sys/dev/dm/dm.h
--- a/sys/dev/dm/dm.h   Thu Oct 02 21:49:22 2014 +0000
+++ b/sys/dev/dm/dm.h   Thu Oct 02 21:58:16 2014 +0000
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index