]> git.proxmox.com Git - mirror_zfs.git/blobdiff - include/sys/spa_checkpoint.h
Serialize ZTHR operations to eliminate races
[mirror_zfs.git] / include / sys / spa_checkpoint.h
index a5c8560149a425412a00c3cfa8f1d53e88c7a646..9be2b6eeab3c2a8917c71599e1a68ed75fa5781e 100644 (file)
@@ -37,7 +37,7 @@ int spa_checkpoint(const char *);
 int spa_checkpoint_discard(const char *);
 
 boolean_t spa_checkpoint_discard_thread_check(void *, zthr_t *);
-int spa_checkpoint_discard_thread(void *, zthr_t *);
+void spa_checkpoint_discard_thread(void *, zthr_t *);
 
 int spa_checkpoint_get_stats(spa_t *, pool_checkpoint_stat_t *);