aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/txg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/txg.h')
-rw-r--r--include/sys/txg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sys/txg.h b/include/sys/txg.h
index 2f87d747c..f9d6dd421 100644
--- a/include/sys/txg.h
+++ b/include/sys/txg.h
@@ -22,6 +22,9 @@
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+/*
+ * Copyright (c) 2012 by Delphix. All rights reserved.
+ */
#ifndef _SYS_TXG_H
#define _SYS_TXG_H
@@ -121,7 +124,7 @@ extern void txg_wait_callbacks(struct dsl_pool *dp);
extern void txg_list_create(txg_list_t *tl, size_t offset);
extern void txg_list_destroy(txg_list_t *tl);
-extern int txg_list_empty(txg_list_t *tl, uint64_t txg);
+extern boolean_t txg_list_empty(txg_list_t *tl, uint64_t txg);
extern int txg_list_add(txg_list_t *tl, void *p, uint64_t txg);
extern int txg_list_add_tail(txg_list_t *tl, void *p, uint64_t txg);
extern void *txg_list_remove(txg_list_t *tl, uint64_t txg);