]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/txg.c
Illumos #3086: unnecessarily setting DS_FLAG_INCONSISTENT on async
[mirror_zfs.git] / module / zfs / txg.c
index 17494bcdad1dc0a9e2be6ffe6f011fa4b47b4fc6..838a6f64237cfc84174250a83efa5e7c876255dd 100644 (file)
@@ -20,6 +20,8 @@
  */
 /*
  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Portions Copyright 2011 Martin Matuska
+ * Copyright (c) 2012 by Delphix. All rights reserved.
  */
 
 #include <sys/zfs_context.h>
@@ -669,7 +671,7 @@ txg_list_destroy(txg_list_t *tl)
        mutex_destroy(&tl->tl_lock);
 }
 
-int
+boolean_t
 txg_list_empty(txg_list_t *tl, uint64_t txg)
 {
        return (tl->tl_head[txg & TXG_MASK] == NULL);