aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2019-10-03 15:54:29 -0700
committerBrian Behlendorf <[email protected]>2019-10-03 15:54:29 -0700
commit2cc479d049eb84b9cd7da9f2d64266429f3c3201 (patch)
tree381a50d3c3cd19d920ae915b64d7e97429b86b28 /include/sys
parent64b6c47d90b95d9eb9c39aec40e3c6e8374d2721 (diff)
Rename rangelock_ functions to zfs_rangelock_
A rangelock KPI already exists on FreeBSD. Add a zfs_ prefix as per our convention to prevent any conflict with existing symbols. Reviewed-by: Igor Kozhukhov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #9402
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/zfs_rlock.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/sys/zfs_rlock.h b/include/sys/zfs_rlock.h
index 05b080843..5f1e2a364 100644
--- a/include/sys/zfs_rlock.h
+++ b/include/sys/zfs_rlock.h
@@ -66,13 +66,13 @@ typedef struct locked_range {
uint8_t lr_read_wanted; /* reader wants to lock this range */
} locked_range_t;
-void rangelock_init(rangelock_t *, rangelock_cb_t *, void *);
-void rangelock_fini(rangelock_t *);
+void zfs_rangelock_init(rangelock_t *, rangelock_cb_t *, void *);
+void zfs_rangelock_fini(rangelock_t *);
-locked_range_t *rangelock_enter(rangelock_t *,
+locked_range_t *zfs_rangelock_enter(rangelock_t *,
uint64_t, uint64_t, rangelock_type_t);
-void rangelock_exit(locked_range_t *);
-void rangelock_reduce(locked_range_t *, uint64_t, uint64_t);
+void zfs_rangelock_exit(locked_range_t *);
+void zfs_rangelock_reduce(locked_range_t *, uint64_t, uint64_t);
#ifdef __cplusplus
}