aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/linux/zfs
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-04-19 20:49:30 +0200
committerBrian Behlendorf <[email protected]>2022-06-29 14:08:59 -0700
commitdd66857d92d86643bda57b92fdd58f016bd1725e (patch)
tree9048c7e8ea0821c264cbaab4ee5a29379393ddbf /module/os/linux/zfs
parenta926aab902ac5c680f4766568d19674b80fb58bb (diff)
Remaining {=> const} char|void *tag
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13348
Diffstat (limited to 'module/os/linux/zfs')
-rw-r--r--module/os/linux/zfs/zfs_znode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/os/linux/zfs/zfs_znode.c b/module/os/linux/zfs/zfs_znode.c
index d921f2b07..dc504b1a1 100644
--- a/module/os/linux/zfs/zfs_znode.c
+++ b/module/os/linux/zfs/zfs_znode.c
@@ -2001,7 +2001,7 @@ zfs_sa_setup(objset_t *osp, sa_attr_type_t **sa_table)
static int
zfs_grab_sa_handle(objset_t *osp, uint64_t obj, sa_handle_t **hdlp,
- dmu_buf_t **db, void *tag)
+ dmu_buf_t **db, const void *tag)
{
dmu_object_info_t doi;
int error;
@@ -2028,7 +2028,7 @@ zfs_grab_sa_handle(objset_t *osp, uint64_t obj, sa_handle_t **hdlp,
}
static void
-zfs_release_sa_handle(sa_handle_t *hdl, dmu_buf_t *db, void *tag)
+zfs_release_sa_handle(sa_handle_t *hdl, dmu_buf_t *db, const void *tag)
{
sa_handle_destroy(hdl);
sa_buf_rele(db, tag);