diff options
author | Matthew Macy <[email protected]> | 2019-11-01 10:37:33 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-11-01 10:37:33 -0700 |
commit | bd4dde8ef7b3861b20f12619f8994e037b303040 (patch) | |
tree | 33f8795c8c9e103a3235cbb0afd90ccd795499d5 /include/sys/zvol_impl.h | |
parent | bbc18de83afaceff498104d9d261c0328057ccf6 (diff) |
Prefix struct rangelock
A struct rangelock already exists on FreeBSD. Add a zfs_ prefix as
per our convention to prevent any conflict with existing symbols.
This change is a follow up to 2cc479d0.
Reviewed-by: Matt Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #9534
Diffstat (limited to 'include/sys/zvol_impl.h')
-rw-r--r-- | include/sys/zvol_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/zvol_impl.h b/include/sys/zvol_impl.h index 12b653e66..845eb04bc 100644 --- a/include/sys/zvol_impl.h +++ b/include/sys/zvol_impl.h @@ -47,7 +47,7 @@ typedef struct zvol_state { uint32_t zv_open_count; /* open counts */ uint32_t zv_changed; /* disk changed */ zilog_t *zv_zilog; /* ZIL handle */ - rangelock_t zv_rangelock; /* for range locking */ + zfs_rangelock_t zv_rangelock; /* for range locking */ dnode_t *zv_dn; /* dnode hold */ list_node_t zv_next; /* next zvol_state_t linkage */ uint64_t zv_hash; /* name hash */ |