summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2013-02-11 07:48:57 +0000
committermm <mm@FreeBSD.org>2013-02-11 07:48:57 +0000
commitdef39332732c65e1511ceeb01fc747d2d3c7fb5f (patch)
tree3408a4ad10cdf961ef1dbd1d955688c089493202
parent634ed08a4eaef8d52d9177f0ee4960f2e733580c (diff)
downloadFreeBSD-src-def39332732c65e1511ceeb01fc747d2d3c7fb5f.zip
FreeBSD-src-def39332732c65e1511ceeb01fc747d2d3c7fb5f.tar.gz
MFV r246390:
Import minor type change in refcount.h header from vendor (illumos). MFC after: 2 weeks
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/refcount.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/refcount.h b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/refcount.h
index 37a28b8..75e8e00 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/refcount.h
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/refcount.h
@@ -20,6 +20,7 @@
*/
/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012 by Delphix. All rights reserved.
*/
#ifndef _SYS_REFCOUNT_H
@@ -54,8 +55,8 @@ typedef struct refcount {
kmutex_t rc_mtx;
list_t rc_list;
list_t rc_removed;
- int64_t rc_count;
- int64_t rc_removed_count;
+ uint64_t rc_count;
+ uint64_t rc_removed_count;
} refcount_t;
/* Note: refcount_t must be initialized with refcount_create() */
OpenPOWER on IntegriCloud