]> granicus.if.org Git - zfs/commit
Revert "OpenZFS 9036 - zfs: duplicate 'const' declaration specifier"
authormegari <megari@iki.fi>
Mon, 16 Apr 2018 19:44:40 +0000 (22:44 +0300)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 16 Apr 2018 19:44:40 +0000 (12:44 -0700)
commitd68ac65eb61acfd898262709a726bbcd7f5a31f1
tree8f372279ed669b7f707d2246f6ffa818e0a6f7ca
parent9eb7b46ed03002dc8531a512ee1b52f6b5a86881
Revert "OpenZFS 9036 - zfs: duplicate 'const' declaration specifier"

This reverts commit cbb893321545c2c9052787b556c9375fcb103979.

The original change in OpenZFS 9036 did remove duplicate 'const'
specifiers, but the ZoL port had already done what *should* have been
done in OpenZFS 9036, which is to make the pointers themselves const.
The port of the change to ZoL ended up doing an unnecessary removal
of the constness of the pointers. Undo that.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Ari Sundholm <ari@tuxera.com>
Closes #7444
module/zfs/vdev_indirect_mapping.c