aboutsummaryrefslogtreecommitdiff
path: root/include/sys/dmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/dmu.h')
-rw-r--r--include/sys/dmu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/dmu.h b/include/sys/dmu.h
index 6bd7a3e9a412..7c55a5c26189 100644
--- a/include/sys/dmu.h
+++ b/include/sys/dmu.h
@@ -573,7 +573,7 @@ int dmu_buf_hold_array_by_dnode(dnode_t *dn, uint64_t offset,
* Add a reference to a dmu buffer that has already been held via
* dmu_buf_hold() in the current context.
*/
-void dmu_buf_add_ref(dmu_buf_t *db, void* tag);
+void dmu_buf_add_ref(dmu_buf_t *db, const void *tag);
/*
* Attempt to add a reference to a dmu buffer that is in an unknown state,