diff options
author | Toomas Soome <[email protected]> | 2018-02-05 14:56:04 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-04-14 12:40:52 -0700 |
commit | cbb893321545c2c9052787b556c9375fcb103979 (patch) | |
tree | a7ed2dc5d0d1e483059b58c1d2f9f03d009f131a /module | |
parent | eecdd8e8849f136c488a8e18ed06e9ecb93dd4bb (diff) |
OpenZFS 9036 - zfs: duplicate 'const' declaration specifier
Authored by: Toomas Soome <[email protected]>
Reviewed by: Yuri Pankov <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Approved by: Dan McDonald <[email protected]>
Ported-by: Brian Behlendorf <[email protected]>
OpenZFS-issue: https://illumos.org/issues/9036
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/f02c28e434
Closes #6900
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/vdev_indirect_mapping.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/vdev_indirect_mapping.c b/module/zfs/vdev_indirect_mapping.c index dbd6a7635..beb5ea4d6 100644 --- a/module/zfs/vdev_indirect_mapping.c +++ b/module/zfs/vdev_indirect_mapping.c @@ -136,8 +136,8 @@ vdev_indirect_mapping_size(vdev_indirect_mapping_t *vim) static int dva_mapping_overlap_compare(const void *v_key, const void *v_array_elem) { - const uint64_t * const key = v_key; - const vdev_indirect_mapping_entry_phys_t * const array_elem = + const uint64_t *key = v_key; + const vdev_indirect_mapping_entry_phys_t *array_elem = v_array_elem; uint64_t src_offset = DVA_MAPPING_GET_SRC_OFFSET(array_elem); |