Skip to content

Commit

Permalink
OpenZFS 9036 - zfs: duplicate 'const' declaration specifier
Browse files Browse the repository at this point in the history
Authored by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>

OpenZFS-Issue: https://illumos.org/issues/9036
OpenZFS-Commit: openzfs/openzfs@f02c28e434
Issue #6900
  • Loading branch information
tsoome authored and behlendorf committed Apr 14, 2018
1 parent bd10508 commit 0976df5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/zfs/vdev_indirect_mapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0976df5

Please sign in to comment.