MFV r246390:

Import minor type change in refcount.h header from vendor (illumos).

MFC after:	2 weeks
This commit is contained in:
Martin Matuska 2013-02-11 07:48:57 +00:00
commit 8a2dc7faae

View File

@ -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() */